Skip to content

Commit 257fd17

Browse files
committed
fixup! wolfSSL_EVP_PKEY_cmp: only compare the public keys
1 parent 9b3b874 commit 257fd17

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25852,7 +25852,7 @@ static int test_wolfSSL_CTX_add_extra_chain_cert(void)
2585225852
pkey = X509_get_pubkey(ecX509);
2585325853
ExpectNotNull(pkey);
2585425854
/* current ECC key is 256 bit (32 bytes) */
25855-
ExpectIntEQ(EVP_PKEY_size(pkey), 72);
25855+
ExpectIntGE(EVP_PKEY_size(pkey), 72);
2585625856

2585725857
X509_free(ecX509);
2585825858
ecX509 = NULL;
@@ -40935,7 +40935,7 @@ static int test_wolfSSL_CTX_ctrl(void)
4093540935
#endif
4093640936
ExpectNotNull(pkey = X509_get_pubkey(ecX509));
4093740937
/* current ECC key is 256 bit (32 bytes) */
40938-
ExpectIntEQ(EVP_PKEY_size(pkey), 72);
40938+
ExpectIntGE(EVP_PKEY_size(pkey), 72);
4093940939

4094040940
X509_free(ecX509);
4094140941
EVP_PKEY_free(pkey);

0 commit comments

Comments
 (0)