From: Ken Raeburn Date: Sat, 22 Jan 2000 02:53:02 +0000 (+0000) Subject: * prng.c (enc): Now static and const, and points to const X-Git-Tag: krb5-1.2-beta1~159 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=914f75cb840b0282bb73d821e7c9c81d05cada29;p=krb5.git * prng.c (enc): Now static and const, and points to const git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11958 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/ChangeLog b/src/lib/crypto/ChangeLog index 1f7ccce17..7b9ad2abf 100644 --- a/src/lib/crypto/ChangeLog +++ b/src/lib/crypto/ChangeLog @@ -1,3 +1,7 @@ +2000-01-21 Ken Raeburn + + * prng.c (enc): Now static and const, and points to const. + 1999-10-26 Tom Yu * 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 57b2d36ba..d86d81512 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? */