* nfold.c (krb5_nfold): inbots and outbits are now unsigned int
authorEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 22:58:08 +0000 (22:58 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 22:58:08 +0000 (22:58 +0000)
        * 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

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

index d47798582bb4c6f17b1fc1052f48fc2820c70eea..76aec91ed550904fb70135fa08cb326c8dfed731 100644 (file)
@@ -1,3 +1,9 @@
+2000-10-17  Ezra Peisach  <epeisach@mit.edu>
+
+       * nfold.c (krb5_nfold): inbots and outbits are now unsigned int. 
+
+       * prng.c: Local variable random_count is now unsigned int. 
+
 2000-06-30  Ezra Peisach  <epeisach@mit.edu>
 
        * crypto_libinit.c: Add prototype for prng_cleanup().
index 9c1fe2686df577fa316cdae769f72576c910c837..d9bc804a151618a8efc082d1952bea226a892e53 100644 (file)
@@ -47,9 +47,9 @@ n-fold(k-bits):
 
 void
 krb5_nfold(inbits, in, outbits, out)
-     int inbits;
+     unsigned int inbits;
      krb5_const unsigned char *in;
-     int outbits;
+     unsigned int outbits;
      unsigned char *out;
 {
     int a,b,c,lcm;
index 78075a3f1125de699c048988063d43e14b0a2dcc..c89bc8b196721854b93eff55ababcca8e448e9ad 100644 (file)
@@ -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)