diff 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
line wrap: on
line diff
--- a/svr-auth.c	Sun Apr 07 01:36:42 2013 +0800
+++ b/svr-auth.c	Mon Apr 08 00:10:57 2013 +0800
@@ -332,8 +332,7 @@
 	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);