forked from wolfSSL/wolfssl
Fix for possible unused ctx
in wolfSSL_CTX_IsPrivatePkSet
when no ECC, RSA or ED25519.
This commit is contained in:
@@ -3953,6 +3953,7 @@ int DhAgree(WOLFSSL* ssl, DhKey* dhKey,
|
||||
int wolfSSL_CTX_IsPrivatePkSet(WOLFSSL_CTX* ctx)
|
||||
{
|
||||
int pkcbset = 0;
|
||||
(void)ctx;
|
||||
#if defined(HAVE_ECC) || defined(HAVE_ED25519) || !defined(NO_RSA)
|
||||
if (0
|
||||
#ifdef HAVE_ECC
|
||||
|
Reference in New Issue
Block a user