From dec1e9393dd498775ca8291783e8a79e6e9e7f38 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sat, 25 Mar 1995 05:42:36 +0000 Subject: [PATCH] Initialize auth_context to zero before calling mk_req git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5245 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/telnet/libtelnet/ChangeLog | 5 +++++ src/appl/telnet/libtelnet/kerberos5.c | 1 + 2 files changed, 6 insertions(+) diff --git a/src/appl/telnet/libtelnet/ChangeLog b/src/appl/telnet/libtelnet/ChangeLog index 707b4fa15..a8229d736 100644 --- a/src/appl/telnet/libtelnet/ChangeLog +++ b/src/appl/telnet/libtelnet/ChangeLog @@ -1,3 +1,8 @@ +Fri Mar 24 23:51:18 1995 Theodore Y. Ts'o + + * kerberos5.c (kerberos5_send): Initialize auth_context to zero + before calling mk_req. + Fri Mar 10 11:09:34 1995 Chris Provenzano (proven@mit.edu) * kerberos5.c Use new calling convention for krb5_mk_req_extended(). diff --git a/src/appl/telnet/libtelnet/kerberos5.c b/src/appl/telnet/libtelnet/kerberos5.c index d0ac7875d..e2d0462a4 100644 --- a/src/appl/telnet/libtelnet/kerberos5.c +++ b/src/appl/telnet/libtelnet/kerberos5.c @@ -235,6 +235,7 @@ kerberos5_send(ap) ap_opts |= AP_OPTS_USE_SUBKEY; #endif /* ENCRYPTION */ + auth_context = 0; r = krb5_mk_req_extended(telnet_context, &auth_context, ap_opts, NULL, new_creds, &auth); -- 2.26.2