Skip to content

Commit 472a31a

Browse files
committed
Fix the wrong IV size.
1 parent b2d25ec commit 472a31a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/keys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1244,7 +1244,7 @@ int SetCipherSpecs(WOLFSSL* ssl)
12441244
ssl->specs.static_ecdh = 0;
12451245
ssl->specs.key_size = AES_128_KEY_SIZE;
12461246
ssl->specs.block_size = AES_BLOCK_SIZE;
1247-
ssl->specs.iv_size = AES_IV_SIZE;
1247+
ssl->specs.iv_size = AESGCM_IMP_IV_SZ;
12481248
ssl->specs.aead_mac_size = AES_GCM_AUTH_SZ;
12491249

12501250
ssl->options.usingPSK_cipher = 1;

0 commit comments

Comments
 (0)