forked from wolfSSL/wolfssl
Fix for unused variables with --disable-rsa --enable-tls13
case in InitSuites
.
This commit is contained in:
@ -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 */
|
||||
}
|
||||
|
Reference in New Issue
Block a user