mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
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 WOLFSSL_NO_TLS12
|
||||||
|
|
||||||
#ifndef NO_WOLFSSL_SERVER
|
#if !defined(NO_WOLFSSL_SERVER) && !defined(NO_RSA)
|
||||||
if (side == WOLFSSL_SERVER_END && haveStaticECC) {
|
if (side == WOLFSSL_SERVER_END && haveStaticECC) {
|
||||||
haveRSA = 0; /* can't do RSA with ECDSA key */
|
haveRSA = 0; /* can't do RSA with ECDSA key */
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user