Merge pull request #4131 from elms/fix/g++_enum_logical_op

fixes build with g++ automatically converting enum to int
This commit is contained in:
David Garske
2021-06-16 13:09:06 -07:00
committed by GitHub

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;