* util_crypt.c (kg_make_confounder): Change variable random to
authorEzra Peisach <epeisach@mit.edu>
Tue, 24 Apr 2001 16:06:52 +0000 (16:06 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 24 Apr 2001 16:06:52 +0000 (16:06 +0000)
  lrandom to prevent shadowing of global function.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13186 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/krb5/ChangeLog
src/lib/gssapi/krb5/util_crypt.c

index 4fc7d518e37f9cab3ff48eeeccdc42501aa52b67..e33f583b8d6ee6dc366aa262f02f21b946161f8d 100644 (file)
@@ -1,3 +1,8 @@
+2001-04-24  Ezra Peisach  <epeisach@mit.edu>
+
+       * util_crypt.c (kg_make_confounder): Change variable random to
+       lrandom to prevent shadowing of global function.
+
 2000-12-07  Ken Raeburn  <raeburn@mit.edu>
 
        * k5seal.c (make_seal_token_v1): Use ANSI-style definition,
index 3e40236c8dfd52c53c85a8e4de53d82144cff0fa..8750f7b0c83c1d5b06dc56cea95d8314943ae3c1 100644 (file)
@@ -74,15 +74,15 @@ kg_make_confounder(context, key, buf)
 {
    krb5_error_code code;
    size_t blocksize;
-   krb5_data random;
+   krb5_data lrandom;
 
    if (code = krb5_c_block_size(context, key->enctype, &blocksize))
        return(code);
 
-   random.length = blocksize;
-   random.data = buf;
+   lrandom.length = blocksize;
+   lrandom.data = buf;
 
-   return(krb5_c_random_make_octets(context, &random));
+   return(krb5_c_random_make_octets(context, &lrandom));
 }
 
 int