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
......@@ -92,7 +92,7 @@ des_cbc_cksum(des_cblock *src, des_cblock *dst,
memxor(block, p, DES_BLOCK_SIZE);
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);
Supports Markdown
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