From 2355294bc4cdee0053722c23d6f1e3a3fbf04f8d Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 24 Apr 2001 16:06:52 +0000 Subject: [PATCH] * util_crypt.c (kg_make_confounder): Change variable random to 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 | 5 +++++ src/lib/gssapi/krb5/util_crypt.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index 4fc7d518e..e33f583b8 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,3 +1,8 @@ +2001-04-24 Ezra Peisach + + * util_crypt.c (kg_make_confounder): Change variable random to + lrandom to prevent shadowing of global function. + 2000-12-07 Ken Raeburn * k5seal.c (make_seal_token_v1): Use ANSI-style definition, diff --git a/src/lib/gssapi/krb5/util_crypt.c b/src/lib/gssapi/krb5/util_crypt.c index 3e40236c8..8750f7b0c 100644 --- a/src/lib/gssapi/krb5/util_crypt.c +++ b/src/lib/gssapi/krb5/util_crypt.c @@ -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 -- 2.26.2