Add guard around ECC PCT for builds without validate keygen.
This commit is contained in:
parent
7a2b661c0c
commit
9c5607a677
@ -8295,6 +8295,7 @@ static int ecc_check_privkey_gen_helper(ecc_key* key)
|
||||
}
|
||||
|
||||
|
||||
#ifdef WOLFSSL_VALIDATE_ECC_KEYGEN
|
||||
/* Performs a Pairwise Consistency Test on an ECC key pair. */
|
||||
static int _ecc_pairwise_consistency_test(ecc_key* key)
|
||||
{
|
||||
@ -8305,6 +8306,7 @@ static int _ecc_pairwise_consistency_test(ecc_key* key)
|
||||
|
||||
return err;
|
||||
}
|
||||
#endif /* WOLFSSL_VALIDATE_ECC_KEYGEN */
|
||||
|
||||
#endif /* WOLFSSL_VALIDATE_ECC_IMPORT */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user