use free/copy_keyblock
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4154 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -70,9 +70,9 @@ krb5_build_authenticator (krb5_context context, | ||||
|       auth->cusec = usec; | ||||
|   } | ||||
|   krb5_generate_subkey (context, &cred->session, &auth->subkey); | ||||
|   free_EncryptionKey (&auth_context->local_subkey); | ||||
|   copy_EncryptionKey (auth->subkey, | ||||
| 		      &auth_context->local_subkey); | ||||
|   krb5_free_keyblock_contents(context, auth_context->local_subkey); | ||||
|   krb5_copy_keyblock_contents(context, auth->subkey,  | ||||
| 			      auth_context->local_subkey); | ||||
|  | ||||
|   if (auth_context->flags & KRB5_AUTH_CONTEXT_DO_SEQUENCE) { | ||||
|     krb5_generate_seq_number (context, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Johan Danielsson
					Johan Danielsson