* prng.c (krb5int_prng_cleanup): Renamed from prng_cleanup.
authorKen Raeburn <raeburn@mit.edu>
Thu, 18 Mar 2004 02:09:40 +0000 (02:09 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 18 Mar 2004 02:09:40 +0000 (02:09 +0000)
* crypto_libinit.c: Include k5-int.h.
(cryptoint_cleanup_library): Updated call.

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

src/lib/crypto/ChangeLog
src/lib/crypto/crypto_libinit.c
src/lib/crypto/prng.c

index ced46947100ddef31f3f36d4f186a7c0fd61cbaf..933410005913c1aba5cf2367eae7d3045e769d8f 100644 (file)
@@ -1,3 +1,9 @@
+2004-03-17  Ken Raeburn  <raeburn@mit.edu>
+
+       * prng.c (krb5int_prng_cleanup): Renamed from prng_cleanup.
+       * crypto_libinit.c: Include k5-int.h.
+       (cryptoint_cleanup_library): Updated call.
+
 2004-03-04  Ken Raeburn  <raeburn@mit.edu>
 
        * configure.in: Don't check for --enable-athena and don't define
index 48ad330d509ae327a3c0dcff1acabedb00d51db3..a799b1ec3d42fb3be545548e0cd6af8b87ca5457 100644 (file)
@@ -1,5 +1,7 @@
 #include <assert.h>
 #include "crypto_libinit.h"
+/* get prng_cleanup decl */
+#include "k5-int.h"
 
 static int             initialized = 0;
 
@@ -27,7 +29,7 @@ void cryptoint_cleanup_library (void)
 {
        assert (initialized);
        
-       prng_cleanup ();
+       krb5int_prng_cleanup ();
        
        initialized = 0;
 }
index 5f0d3864a3de0331c4f4facfce2f94960b120845..eebaca2b9a060a0e6fd864d6e13e426fbe347e3a 100644 (file)
@@ -109,7 +109,7 @@ krb5_c_random_make_octets(krb5_context context, krb5_data *data)
     return(0);
 }
 
-void prng_cleanup (void)
+void krb5int_prng_cleanup (void)
 {
   if (inited) krb5int_yarrow_final (&y_ctx);
        inited = 0;