summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/prng.c
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2000-10-17 22:58:08 +0000
committerEzra Peisach <epeisach@mit.edu>2000-10-17 22:58:08 +0000
commit9fb47bf12c71d0690cd88997b6363bf2fb190229 (patch)
treefd08c2112069dd7802ab7119229d2a9dd8a7ffa9 /src/lib/crypto/prng.c
parent82cdac484e9e6c489233c7a33bc34d216a562f27 (diff)
downloadkrb5-9fb47bf12c71d0690cd88997b6363bf2fb190229.tar.gz
krb5-9fb47bf12c71d0690cd88997b6363bf2fb190229.tar.xz
krb5-9fb47bf12c71d0690cd88997b6363bf2fb190229.zip
* nfold.c (krb5_nfold): inbots and outbits are now unsigned int
* prng.c: Local variable random_count is now unsigned int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12776 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/crypto/prng.c')
-rw-r--r--src/lib/crypto/prng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/crypto/prng.c b/src/lib/crypto/prng.c
index 78075a3f11..c89bc8b196 100644
--- a/src/lib/crypto/prng.c
+++ b/src/lib/crypto/prng.c
@@ -44,7 +44,7 @@ static const struct krb5_enc_provider *const enc = &krb5_enc_des;
static int inited = 0;
static size_t blocksize, keybytes, keylength;
-static int random_count;
+static unsigned int random_count;
/* keybytes | state-block | encblock | key | new-keybytes | new-state-block */
static unsigned char *random_state;
#define STATE (random_state)