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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user