Fix for unused variables with `--disable-rsa --enable-tls13` case in `InitSuites`.

pull/1918/head
David Garske 2018-11-08 15:54:06 -08:00
parent d5dddd2b29
commit b3d5999be9
1 changed files with 1 additions and 1 deletions

View File

@ -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 */
}