* prng.c (enc): Now static and const, and points to const
authorKen Raeburn <raeburn@mit.edu>
Sat, 22 Jan 2000 02:53:02 +0000 (02:53 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 22 Jan 2000 02:53:02 +0000 (02:53 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11958 dc483132-0cff-0310-8789-dd5450dbe970

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

index 1f7ccce1769f9087bd4e0b1654a888c8f27168fe..7b9ad2abff804a64fabdc2361fc27251acce89ea 100644 (file)
@@ -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,
index 57b2d36baa77f1b2d1b090b5f3edaee7d6f2afbd..d86d815128b87a4b68f17a56c8a1799415c4b29a 100644 (file)
@@ -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? */