Skip to content

Commit a3f3c76

Browse files
authored
Merge pull request #5890 from anhu/fix_iv_size
Fix the wrong IV size.
2 parents 3d8f25a + 472a31a commit a3f3c76

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)