Skip to content
Snippets Groups Projects
Commit 2c110b9c authored by Niels Möller's avatar Niels Möller
Browse files

(des_cbc_cksum): Dereference DST pointer.

Rev: src/nettle/des-compat.c:1.11
parent 13595b53
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,7 @@ des_cbc_cksum(des_cblock *src, des_cblock *dst, ...@@ -92,7 +92,7 @@ des_cbc_cksum(des_cblock *src, des_cblock *dst,
memxor(block, p, DES_BLOCK_SIZE); memxor(block, p, DES_BLOCK_SIZE);
nettle_des_encrypt(ctx, DES_BLOCK_SIZE, block, block); nettle_des_encrypt(ctx, DES_BLOCK_SIZE, block, block);
} }
memcpy(dst, block, DES_BLOCK_SIZE); memcpy(*dst, block, DES_BLOCK_SIZE);
return LE_READ_UINT32(block + 4); return LE_READ_UINT32(block + 4);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment