* des.c (des_ecb_encrypt): Put "static" before "const" for local variable "iv"
authorKen Raeburn <raeburn@mit.edu>
Thu, 19 Jul 2001 09:54:00 +0000 (09:54 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 19 Jul 2001 09:54:00 +0000 (09:54 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13607 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/des425/ChangeLog
src/lib/des425/des.c

index bff9c8330aa033b9e29272f416d043d404863c58..6089b46efd989c2b08ece2f2bd645256637b7ca3 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-19  Ken Raeburn  <raeburn@mit.edu>
+
+       * des.c (des_ecb_encrypt): Put "static" before "const" for local
+       variable "iv".
+
 2001-06-21  Ezra Peisach  <epeisach@mit.edu>
 
        * verify.c (do_decrypt, do_encrypt): Cast argument to
index 0be0973323c79a69da2923ee766253504c8e5a6d..39b8690994f61e7feb77c4539cbfcb18602acab4 100644 (file)
@@ -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,