krb5_free_authenticator(retval);
return(0);
}
+ if (val->subkey) {
+ retval->subkey = KRB5_EncryptionKey2krb5_keyblock(val->subkey, error);
+ if (!retval->subkey) {
+ krb5_free_authenticator(retval);
+ return(0);
+ }
+ }
if (val->optionals & opt_KRB5_Authenticator_seq__number) {
retval->seq_number = val->seq__number;
}
if (!retval->ctime) {
goto errout;
}
+ if (val->subkey) {
+ retval->subkey = krb5_keyblock2KRB5_EncryptionKey(val->subkey, error);
+ if (!retval->subkey)
+ goto errout;
+ }
if (val->seq_number) {
retval->seq__number = val->seq_number;
retval->optionals |= opt_KRB5_Authenticator_seq__number;