always generate a subkey.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2286 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-07-14 11:47:23 +00:00
parent 697505a92d
commit 5b161bb382

View File

@@ -31,7 +31,13 @@ krb5_build_authenticator (krb5_context context,
gettimeofday(&tv, NULL);
auth->cusec = tv.tv_usec;
auth->ctime = tv.tv_sec;
#if 0
auth->subkey = NULL;
#else
krb5_generate_subkey (context, &cred->session, &auth->subkey);
copy_EncryptionKey (auth->subkey,
&auth_context->local_subkey);
#endif
if (auth_context->flags & KRB5_AUTH_CONTEXT_DO_SEQUENCE) {
krb5_generate_seq_number (context,
&cred->session,