summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2003-02-21 10:34:49 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2003-02-21 10:34:49 +0000
commit19ccc7b3e409ecc514f737937b1eb974f8cf8039 (patch)
treedb732ea3709d2b4e589c65c38827f13291f016b6
parentd7e6510078a57e5a2ac210d863e76957cde307c7 (diff)
...sizeof(&adat.session) is not good here.
henning@, deraadt@, millert@
-rw-r--r--usr.bin/ssh/auth-krb4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth-krb4.c b/usr.bin/ssh/auth-krb4.c
index b86ce7e49e5..b28df469f74 100644
--- a/usr.bin/ssh/auth-krb4.c
+++ b/usr.bin/ssh/auth-krb4.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth-krb4.c,v 1.28 2002/09/26 11:38:43 markus Exp $");
+RCSID("$OpenBSD: auth-krb4.c,v 1.29 2003/02/21 10:34:48 mpech Exp $");
#include "ssh.h"
#include "ssh1.h"
@@ -271,7 +271,7 @@ auth_krb4(Authctxt *authctxt, KTEXT auth, char **client, KTEXT reply)
reply->length = r;
/* Clear session key. */
- memset(&adat.session, 0, sizeof(&adat.session));
+ memset(&adat.session, 0, sizeof(adat.session));
return (1);
}
#endif /* KRB4 */