diff options
author | Ken Raeburn <raeburn@mit.edu> | 2001-07-19 09:54:00 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2001-07-19 09:54:00 +0000 |
commit | 0326caa60a2d696a598fea78962bd741e57c07ce (patch) | |
tree | b5b7abc6f570f63deb789d8d5444392a9901297c /src/lib/des425 | |
parent | fabee128ac399b4ef46a4a8f7d167251d793d89f (diff) | |
download | krb5-0326caa60a2d696a598fea78962bd741e57c07ce.zip krb5-0326caa60a2d696a598fea78962bd741e57c07ce.tar.gz krb5-0326caa60a2d696a598fea78962bd741e57c07ce.tar.bz2 |
* 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
Diffstat (limited to 'src/lib/des425')
-rw-r--r-- | src/lib/des425/ChangeLog | 5 | ||||
-rw-r--r-- | src/lib/des425/des.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/des425/ChangeLog b/src/lib/des425/ChangeLog index bff9c83..6089b46 100644 --- a/src/lib/des425/ChangeLog +++ b/src/lib/des425/ChangeLog @@ -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 diff --git a/src/lib/des425/des.c b/src/lib/des425/des.c index 0be0973..39b8690 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, |