summaryrefslogtreecommitdiffhomepage
path: root/svr-auth.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-04-08 00:10:57 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-04-08 00:10:57 +0800
commitc797c1750c46d2e111874e31adf5627b24e97462 (patch)
tree1bfe63d0c11cdb563a4952f7f4617d22111efabb /svr-auth.c
parentc6bdc810abab5b58aba26a7618c49f3dac58ebd6 (diff)
- Fix various hardcoded uses of SHA1
- rename curves to nistp256 etc - fix svr-auth.c TRACE problem --HG-- branch : ecc
Diffstat (limited to 'svr-auth.c')
-rw-r--r--svr-auth.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/svr-auth.c b/svr-auth.c
index dca95f5..eb518fc 100644
--- a/svr-auth.c
+++ b/svr-auth.c
@@ -332,8 +332,7 @@ void send_msg_userauth_failure(int partial, int incrfail) {
buf_putbufstring(ses.writepayload, typebuf);
TRACE(("auth fail: methods %d, '%.*s'", ses.authstate.authtypes,
- typebuf->len,
- buf_getptr(typebuf, typebuf->len)));
+ typebuf->len, typebuf->data))
buf_free(typebuf);