summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2003-07-22 15:19:55 +0000
committerKen Raeburn <raeburn@mit.edu>2003-07-22 15:19:55 +0000
commitc323b76a9baa5f27be12748b60e008e1c279108e (patch)
tree55e0ffcabc8e9e3261bccc42c4a5d7cfb7f7151b /src
parentac11f576cf6b05500e67c7495fc63ff79f282fb0 (diff)
downloadkrb5-c323b76a9baa5f27be12748b60e008e1c279108e.tar.gz
krb5-c323b76a9baa5f27be12748b60e008e1c279108e.tar.xz
krb5-c323b76a9baa5f27be12748b60e008e1c279108e.zip
* f_cbc.c (krb5int_des_cbc_decrypt): Move declarations that were after
statements after flattening blocks is previous change. * d3_cbc.c (krb5int_des3_cbc_decrypt): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15706 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/lib/crypto/des/ChangeLog6
-rw-r--r--src/lib/crypto/des/d3_cbc.c4
-rw-r--r--src/lib/crypto/des/f_cbc.c4
3 files changed, 10 insertions, 4 deletions
diff --git a/src/lib/crypto/des/ChangeLog b/src/lib/crypto/des/ChangeLog
index 4a4cc7ec62..70cf9b8a96 100644
--- a/src/lib/crypto/des/ChangeLog
+++ b/src/lib/crypto/des/ChangeLog
@@ -1,3 +1,9 @@
+2003-07-22 Ken Raeburn <raeburn@mit.edu>
+
+ * f_cbc.c (krb5int_des_cbc_decrypt): Move declarations that were
+ after statements after flattening blocks is previous change.
+ * d3_cbc.c (krb5int_des3_cbc_decrypt): Likewise.
+
2003-07-17 Ken Raeburn <raeburn@mit.edu>
* f_cbc.c (krb5int_des_cbc_encrypt, krb5int_des_cbc_decrypt): New
diff --git a/src/lib/crypto/des/d3_cbc.c b/src/lib/crypto/des/d3_cbc.c
index 450b013e11..abef25737b 100644
--- a/src/lib/crypto/des/d3_cbc.c
+++ b/src/lib/crypto/des/d3_cbc.c
@@ -145,6 +145,8 @@ krb5int_des3_cbc_decrypt(const mit_des_cblock *in,
const unsigned DES_INT32 *kp1, *kp2, *kp3;
const unsigned char *ip;
unsigned char *op;
+ unsigned DES_INT32 ocipherl, ocipherr;
+ unsigned DES_INT32 cipherl, cipherr;
/*
* Get key pointer here. This won't need to be reinitialized
@@ -158,8 +160,6 @@ krb5int_des3_cbc_decrypt(const mit_des_cblock *in,
* the necessity of remembering a lot more things.
* Should think about this a little more...
*/
- unsigned DES_INT32 ocipherl, ocipherr;
- unsigned DES_INT32 cipherl, cipherr;
if (length <= 0)
return;
diff --git a/src/lib/crypto/des/f_cbc.c b/src/lib/crypto/des/f_cbc.c
index bb17871a23..c09060fc5e 100644
--- a/src/lib/crypto/des/f_cbc.c
+++ b/src/lib/crypto/des/f_cbc.c
@@ -156,6 +156,8 @@ krb5int_des_cbc_decrypt(const mit_des_cblock *in,
const unsigned DES_INT32 *kp;
const unsigned char *ip;
unsigned char *op;
+ unsigned DES_INT32 ocipherl, ocipherr;
+ unsigned DES_INT32 cipherl, cipherr;
/*
* Get key pointer here. This won't need to be reinitialized
@@ -167,8 +169,6 @@ krb5int_des_cbc_decrypt(const mit_des_cblock *in,
* the necessity of remembering a lot more things.
* Should think about this a little more...
*/
- unsigned DES_INT32 ocipherl, ocipherr;
- unsigned DES_INT32 cipherl, cipherr;
if (length <= 0)
return;