enc_des.c (fb64_session): Call des_init_random_number_generator
authorTheodore Tso <tytso@mit.edu>
Tue, 9 Feb 1999 03:16:04 +0000 (03:16 +0000)
committerTheodore Tso <tytso@mit.edu>
Tue, 9 Feb 1999 03:16:04 +0000 (03:16 +0000)
instead of des_set_random_generator_seed, since the compatibility
library no longer supports the latter call.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11163 dc483132-0cff-0310-8789-dd5450dbe970

src/windows/wintel/ChangeLog
src/windows/wintel/enc_des.c

index 762c082709201040b93eda48799f7c91a33ff41d..9154d3fb257ccf54241b3180077061c503baf6d3 100644 (file)
@@ -1,3 +1,9 @@
+Fri Feb  5 01:42:07 1999  Theodore Y. Ts'o  <tytso@mit.edu>
+
+       * enc_des.c (fb64_session): Call des_init_random_number_generator
+               instead of des_set_random_generator_seed, since the
+               compatibility library no longer supports the latter call.
+
 Wed Feb  3 23:00:05 1999  Theodore Y. Ts'o  <tytso@mit.edu>
 
        * auth.c (auth_send): Increase size of buf so we can handle
index 8357dba7c156de2b34bcac90475a43730d675938..fa1edc69b05a435de61a7fc91f29f8dc792077f3 100644 (file)
@@ -428,7 +428,7 @@ fb64_session(key, server, fbp)
        fb64_stream_key(fbp->krbdes_key, &fbp->streams[DIR_DECRYPT-1]);
 
        if (fbp->once == 0) {
-               des_set_random_generator_seed(fbp->krbdes_key);
+               des_init_random_number_generator(fbp->krbdes_key);
                fbp->once = 1;
        }
        des_key_sched(fbp->krbdes_key, fbp->krbdes_sched);