+Fri Nov 18 15:19:26 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * kerberos5.c (kerberos5_init): Initialize magic variable and
+ encryption type.
+
Fri Nov 18 00:37:13 1994 Mark Eichin <eichin@cygnus.com>
* configure.in: use WITH_KRB4. (from epeisach)
else
str_data[3] = TELQUAL_IS;
memset(&session_key, 0, sizeof(session_key));
+ session_key.magic = KV5M_MAGIC;
+ session_key.etype = ETYPE_UNKNOWN;
krb5_init_ets();
return(1);
}
authenticator.subkey = 0;
#ifdef ENCRYPTION
- if (session_key.contents)
- free(session_key.contents);
if (newkey) {
+ if (session_key.contents)
+ free(session_key.contents);
/* keep the key in our private storage, but don't use it
yet---see kerberos5_reply() below */
if (newkey->keytype != KEYTYPE_DES) {