summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/crypto/ChangeLog4
-rw-r--r--src/lib/crypto/prng.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/crypto/ChangeLog b/src/lib/crypto/ChangeLog
index 1f7ccce176..7b9ad2abff 100644
--- a/src/lib/crypto/ChangeLog
+++ b/src/lib/crypto/ChangeLog
@@ -1,3 +1,7 @@
+2000-01-21 Ken Raeburn <raeburn@mit.edu>
+
+ * prng.c (enc): Now static and const, and points to const.
+
1999-10-26 Tom Yu <tlyu@mit.edu>
* Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES,
diff --git a/src/lib/crypto/prng.c b/src/lib/crypto/prng.c
index 57b2d36baa..d86d815128 100644
--- a/src/lib/crypto/prng.c
+++ b/src/lib/crypto/prng.c
@@ -38,7 +38,7 @@
/* this can be replaced with another encryption provider, since
everything below uses it abstractly */
-struct krb5_enc_provider *enc = &krb5_enc_des;
+static const struct krb5_enc_provider *const enc = &krb5_enc_des;
/* XXX state. Should it be in krb5_context? */