Added proper ifdef's to EccPrivateKeyToDer

pull/3197/head
Ethan Looney 2020-08-06 08:06:06 -07:00
parent 9671901de6
commit afcb40724e
1 changed files with 1 additions and 1 deletions

View File

@ -20654,7 +20654,7 @@ static int test_ToTraditional (void)
static int test_wc_EccPrivateKeyToDer (void)
{
int ret = 0;
#if (defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN))
#if defined(HAVE_ECC) && !defined(WC_NO_RNG)
byte output[FOURK_BUF];
ecc_key eccKey;