mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 19:54:40 +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))
|
||||
return -48;
|
||||
|
||||
#ifdef WOLFSSL_CERT_EXT
|
||||
idx = 0;
|
||||
|
||||
bytes = sizeof_ecc_clikeypub_der_256;
|
||||
@@ -10862,6 +10863,7 @@ int ecc_test_buffers() {
|
||||
(word32) bytes);
|
||||
if (ret != 0)
|
||||
return -52;
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user