From 75445f781027f4244d7ec7653a02ada0a116e584 Mon Sep 17 00:00:00 2001 From: Elms Date: Wed, 16 Jun 2021 09:40:20 -0700 Subject: [PATCH] fixes build with g++ automatically converting enum to int --- src/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl.c b/src/ssl.c index 4da12f4b1..d2648e567 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -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;