diff options
author | Theodore Tso <tytso@mit.edu> | 1996-02-21 20:21:50 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1996-02-21 20:21:50 +0000 |
commit | fc8305db5e928aaddbf1ddd6b981a5a302df94e7 (patch) | |
tree | e91423161b9894b0c5af9bd6c944aeb0c00c8799 /src/kdc/kerberos_v4.c | |
parent | e479e74c3b1a9d78e86a461a89b27a3c17ddb9d4 (diff) | |
download | krb5-fc8305db5e928aaddbf1ddd6b981a5a302df94e7.zip krb5-fc8305db5e928aaddbf1ddd6b981a5a302df94e7.tar.gz krb5-fc8305db5e928aaddbf1ddd6b981a5a302df94e7.tar.bz2 |
kerberos_v4.c (kerberos_v4): Use strong random number generator
main.c (main): Initialize Kerberos V4's random number generator.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7491 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc/kerberos_v4.c')
-rw-r--r-- | src/kdc/kerberos_v4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kdc/kerberos_v4.c b/src/kdc/kerberos_v4.c index 7d0508f..de58871 100644 --- a/src/kdc/kerberos_v4.c +++ b/src/kdc/kerberos_v4.c @@ -569,7 +569,7 @@ kerberos_v4(client, pkt) memset(session_key, 0, sizeof(C_Block)); #else /* random session key */ - random_key(session_key); + des_new_random_key(session_key); #endif /* unseal server's key from master key */ @@ -709,7 +709,7 @@ kerberos_v4(client, pkt) memset(session_key, 0, sizeof(C_Block)); #else /* random session key */ - random_key(session_key); + des_new_random_key(session_key); #endif krb_create_ticket(tk, k_flags, ad->pname, ad->pinst, |