summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2004-03-18 02:09:40 +0000
committerKen Raeburn <raeburn@mit.edu>2004-03-18 02:09:40 +0000
commitc1ff6d6bfa7a79be3f46fb0e005cbcdb76684d8f (patch)
tree9a9ae41bc5731bafeffb34c33560941e552dbc40
parent15903f5c6ca3cdeea14fdf770b477dd041a0ec7a (diff)
downloadkrb5-c1ff6d6bfa7a79be3f46fb0e005cbcdb76684d8f.tar.gz
krb5-c1ff6d6bfa7a79be3f46fb0e005cbcdb76684d8f.tar.xz
krb5-c1ff6d6bfa7a79be3f46fb0e005cbcdb76684d8f.zip
* prng.c (krb5int_prng_cleanup): Renamed from prng_cleanup.
* 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
-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 ced469471..933410005 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 48ad330d5..a799b1ec3 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 5f0d3864a..eebaca2b9 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;