full DES key.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7979
dc483132-0cff-0310-8789-
dd5450dbe970
+Sat May 11 17:36:26 EDT 1996 Richard Basch <basch@lehman.com>
+
+ * new_rnd_key.c: Use sizeof(mit_des_cblock) instead of sizeof(key)
+ so that we copy the full DES key instead of only 4 bytes.
+
Thu May 2 18:44:02 1996 Richard Basch <basch@lehman.com>
* random_key.c new_rnd_key.c:
kret = mit_des_random_key(NULL, des425_random_state, &keyblock);
if (kret) return kret;
- memcpy(key, keyblock->contents, sizeof(key));
+ memcpy(key, keyblock->contents, sizeof(mit_des_cblock));
krb5_free_keyblock(NULL, keyblock);
return 0;
}