diff options
author | Mike Pechkin <mpech@cvs.openbsd.org> | 2003-02-21 10:34:49 +0000 |
---|---|---|
committer | Mike Pechkin <mpech@cvs.openbsd.org> | 2003-02-21 10:34:49 +0000 |
commit | 19ccc7b3e409ecc514f737937b1eb974f8cf8039 (patch) | |
tree | db732ea3709d2b4e589c65c38827f13291f016b6 | |
parent | d7e6510078a57e5a2ac210d863e76957cde307c7 (diff) |
...sizeof(&adat.session) is not good here.
henning@, deraadt@, millert@
-rw-r--r-- | usr.bin/ssh/auth-krb4.c | 4 |
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 */ |