projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
memset, memcpy, sizeof consistency fixes
[openssl.git]
/
engines
/
e_padlock.c
diff --git
a/engines/e_padlock.c
b/engines/e_padlock.c
index 9acca7d9184f53c472c3824a844ec6a310dbf147..df636b519b956c16b7416d9876d42b0e55765b8e 100644
(file)
--- a/
engines/e_padlock.c
+++ b/
engines/e_padlock.c
@@
-661,7
+661,7
@@
padlock_aes_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
return 0; /* ERROR */
cdata = ALIGNED_CIPHER_DATA(ctx);
- memset(cdata, 0, sizeof(
struct padlock_cipher_
data));
+ memset(cdata, 0, sizeof(
*c
data));
/* Prepare Control word. */
if (mode == EVP_CIPH_OFB_MODE || mode == EVP_CIPH_CTR_MODE)