summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/crypto/bf/bftest.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/openssl/openssl/crypto/bf/bftest.c')
-rw-r--r--deps/openssl/openssl/crypto/bf/bftest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/openssl/openssl/crypto/bf/bftest.c b/deps/openssl/openssl/crypto/bf/bftest.c
index 0b008f091c..bd20a8e211 100644
--- a/deps/openssl/openssl/crypto/bf/bftest.c
+++ b/deps/openssl/openssl/crypto/bf/bftest.c
@@ -462,9 +462,9 @@ static int test(void)
len = strlen(cbc_data) + 1;
BF_set_key(&key, 16, cbc_key);
- memset(cbc_in, 0, sizeof cbc_in);
- memset(cbc_out, 0, sizeof cbc_out);
- memcpy(iv, cbc_iv, sizeof iv);
+ memset(cbc_in, 0, sizeof(cbc_in));
+ memset(cbc_out, 0, sizeof(cbc_out));
+ memcpy(iv, cbc_iv, sizeof(iv));
BF_cbc_encrypt((unsigned char *)cbc_data, cbc_out, len,
&key, iv, BF_ENCRYPT);
if (memcmp(cbc_out, cbc_ok, 32) != 0) {