Commit af9fb1cd authored by Niels Möller's avatar Niels Möller
Browse files

* des-compat.c (des_cbc_cksum): Bug fix, local variable was

declared in the middle of a block.

Rev: src/nettle/des-compat.c:1.6
parent 6aa9a064
...@@ -76,9 +76,9 @@ des_cbc_cksum(des_cblock *src, des_cblock *dst, ...@@ -76,9 +76,9 @@ des_cbc_cksum(des_cblock *src, des_cblock *dst,
* work, in particular what it should return, and if iv can be * work, in particular what it should return, and if iv can be
* modified. */ * modified. */
uint8_t block[DES_BLOCK_SIZE]; uint8_t block[DES_BLOCK_SIZE];
memcpy(block, *iv, DES_BLOCK_SIZE);
uint8_t *p; uint8_t *p;
memcpy(block, *iv, DES_BLOCK_SIZE);
assert(!(length % DES_BLOCK_SIZE)); assert(!(length % DES_BLOCK_SIZE));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment