From 914f75cb840b0282bb73d821e7c9c81d05cada29 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 22 Jan 2000 02:53:02 +0000 Subject: [PATCH] * 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 --- src/lib/crypto/ChangeLog | 4 ++++ src/lib/crypto/prng.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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? */ -- 2.26.2