+Thu Nov 10 17:20:42 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * decrypt_key.c (krb5_kdb_decrypt_key): Set the keyblock's magic
+ number and ecryption type information appropriately.
+
Tue Nov 8 18:03:23 1994 Theodore Y. Ts'o (tytso@dcl)
* fetch_mkey.c (krb5_db_fetch_mkey): Set the keyblock's magic
/* the encrypted version is stored as the unencrypted key length
(4 bytes, MSB first) followed by the encrypted key. */
+ out->magic = KV5M_KEYBLOCK;
+ out->etype = ETYPE_UNKNOWN;
out->keytype = in->keytype;
out->length = krb5_encrypt_size(in->length-sizeof(in->length),
eblock->crypto_entry);