Mercurial > dropbear
comparison svr-auth.c @ 762:a78a38e402d1 ecc
- Fix various hardcoded uses of SHA1
- rename curves to nistp256 etc
- fix svr-auth.c TRACE problem
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 08 Apr 2013 00:10:57 +0800 |
parents | ac2158e3e403 |
children | 7dcb46da72d9 |
comparison
equal
deleted
inserted
replaced
761:ac2158e3e403 | 762:a78a38e402d1 |
---|---|
330 } | 330 } |
331 | 331 |
332 buf_putbufstring(ses.writepayload, typebuf); | 332 buf_putbufstring(ses.writepayload, typebuf); |
333 | 333 |
334 TRACE(("auth fail: methods %d, '%.*s'", ses.authstate.authtypes, | 334 TRACE(("auth fail: methods %d, '%.*s'", ses.authstate.authtypes, |
335 typebuf->len, | 335 typebuf->len, typebuf->data)) |
336 buf_getptr(typebuf, typebuf->len))); | |
337 | 336 |
338 buf_free(typebuf); | 337 buf_free(typebuf); |
339 | 338 |
340 buf_putbyte(ses.writepayload, partial ? 1 : 0); | 339 buf_putbyte(ses.writepayload, partial ? 1 : 0); |
341 encrypt_packet(); | 340 encrypt_packet(); |