mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 04:04:39 +02:00
Protect other call to wc_EccPublicKeyDecode
This commit is contained in:
@@ -10854,6 +10854,7 @@ int ecc_test_buffers() {
|
|||||||
if (XMEMCMP(plain, in, ret))
|
if (XMEMCMP(plain, in, ret))
|
||||||
return -48;
|
return -48;
|
||||||
|
|
||||||
|
#ifdef WOLFSSL_CERT_EXT
|
||||||
idx = 0;
|
idx = 0;
|
||||||
|
|
||||||
bytes = sizeof_ecc_clikeypub_der_256;
|
bytes = sizeof_ecc_clikeypub_der_256;
|
||||||
@@ -10862,6 +10863,7 @@ int ecc_test_buffers() {
|
|||||||
(word32) bytes);
|
(word32) bytes);
|
||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
return -52;
|
return -52;
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user