From b3d5999be9efe7433806621f74b9e04f61b29337 Mon Sep 17 00:00:00 2001 From: David Garske Date: Thu, 8 Nov 2018 15:54:06 -0800 Subject: [PATCH] Fix for unused variables with `--disable-rsa --enable-tls13` case in `InitSuites`. --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index d5cf35026..519968c02 100644 --- a/src/internal.c +++ b/src/internal.c @@ -1980,7 +1980,7 @@ void InitSuites(Suites* suites, ProtocolVersion pv, int keySz, word16 haveRSA, #ifndef WOLFSSL_NO_TLS12 -#ifndef NO_WOLFSSL_SERVER +#if !defined(NO_WOLFSSL_SERVER) && !defined(NO_RSA) if (side == WOLFSSL_SERVER_END && haveStaticECC) { haveRSA = 0; /* can't do RSA with ECDSA key */ }