fixes build with g++ automatically converting enum to int

This commit is contained in:
Elms
2021-06-16 09:40:20 -07:00
parent 5bb639f6db
commit 75445f7810

View File

@@ -8075,7 +8075,7 @@ WOLFSSL_EVP_PKEY* wolfSSL_d2i_PUBKEY(WOLFSSL_EVP_PKEY** out,
word32 keyIdx = 0;
DhKey* key = NULL;
int ret;
Element_Set elements;
int elements;
/* test if DH-public key */
if (wc_InitDhKey(&dh) != 0)
return NULL;