From 0326caa60a2d696a598fea78962bd741e57c07ce Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 19 Jul 2001 09:54:00 +0000 Subject: [PATCH] * 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 --- src/lib/des425/ChangeLog | 5 +++++ src/lib/des425/des.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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, -- 2.26.2