summaryrefslogtreecommitdiff
path: root/auth-krb4.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-02-24 12:05:18 +1100
committerDamien Miller <djm@mindrot.org>2003-02-24 12:05:18 +1100
commit543402108ed6140bff2ddd6eb4011413b1d3b97f (patch)
tree7dfc8cdcd602934ec36577d9ee3ac1f5c80a7da1 /auth-krb4.c
parent9f82c8fa4f9b6b258caf432567d43b5194d99ad0 (diff)
- mpech@cvs.openbsd.org 2003/02/21 10:34:48
[auth-krb4.c] ...sizeof(&adat.session) is not good here. henning@, deraadt@, millert@
Diffstat (limited to 'auth-krb4.c')
-rw-r--r--auth-krb4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-krb4.c b/auth-krb4.c
index b86ce7e4..b28df469 100644
--- a/auth-krb4.c
+++ b/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 */