From: Ken Raeburn Date: Thu, 19 Jul 2001 09:54:00 +0000 (+0000) Subject: * des.c (des_ecb_encrypt): Put "static" before "const" for local variable "iv" X-Git-Tag: krb5-1.3-alpha1~1203 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0326caa60a2d696a598fea78962bd741e57c07ce;p=krb5.git * des.c (des_ecb_encrypt): Put "static" before "const" for local variable "iv" git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13607 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/des425/ChangeLog b/src/lib/des425/ChangeLog index bff9c8330..6089b46ef 100644 --- a/src/lib/des425/ChangeLog +++ b/src/lib/des425/ChangeLog @@ -1,3 +1,8 @@ +2001-07-19 Ken Raeburn + + * des.c (des_ecb_encrypt): Put "static" before "const" for local + variable "iv". + 2001-06-21 Ezra Peisach * verify.c (do_decrypt, do_encrypt): Cast argument to diff --git a/src/lib/des425/des.c b/src/lib/des425/des.c index 0be097332..39b869099 100644 --- a/src/lib/des425/des.c +++ b/src/lib/des425/des.c @@ -36,7 +36,7 @@ des_ecb_encrypt(clear, cipher, schedule, enc) const mit_des_key_schedule schedule; int enc; /* 0 ==> decrypt, else encrypt */ { - const static des_cblock iv; + static const des_cblock iv; return (mit_des_cbc_encrypt((const des_cblock *) clear, (des_cblock *) cipher,