summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/crypto/ChangeLog6
-rw-r--r--src/lib/crypto/crypto_libinit.c4
-rw-r--r--src/lib/crypto/prng.c2
3 files changed, 10 insertions, 2 deletions
diff --git a/src/lib/crypto/ChangeLog b/src/lib/crypto/ChangeLog
index ced4694710..9334100059 100644
--- a/src/lib/crypto/ChangeLog
+++ b/src/lib/crypto/ChangeLog
@@ -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
diff --git a/src/lib/crypto/crypto_libinit.c b/src/lib/crypto/crypto_libinit.c
index 48ad330d50..a799b1ec3d 100644
--- a/src/lib/crypto/crypto_libinit.c
+++ b/src/lib/crypto/crypto_libinit.c
@@ -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;
}
diff --git a/src/lib/crypto/prng.c b/src/lib/crypto/prng.c
index 5f0d3864a3..eebaca2b9a 100644
--- a/src/lib/crypto/prng.c
+++ b/src/lib/crypto/prng.c
@@ -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;