Initialize auth_context to zero before calling mk_req
authorTheodore Tso <tytso@mit.edu>
Sat, 25 Mar 1995 05:42:36 +0000 (05:42 +0000)
committerTheodore Tso <tytso@mit.edu>
Sat, 25 Mar 1995 05:42:36 +0000 (05:42 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5245 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/telnet/libtelnet/ChangeLog
src/appl/telnet/libtelnet/kerberos5.c

index 707b4fa1577ae03affecc7aefd8ad5fb0eb9d665..a8229d736976be71060ead8b075b72dc2f5545b5 100644 (file)
@@ -1,3 +1,8 @@
+Fri Mar 24 23:51:18 1995  Theodore Y. Ts'o  <tytso@dcl>
+
+       * 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().
index d0ac7875df439a8b11b21407ebd051d1e3820ed9..e2d0462a48b44547c308bd532a32086b53dd0cab 100644 (file)
@@ -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);