mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
keySz is only in Buffers if NO_CERTS not defined.
This commit is contained in:
@@ -6929,6 +6929,7 @@ int SetSSL_CTX(WOLFSSL* ssl, WOLFSSL_CTX* ctx, int writeDup)
|
||||
ssl->options.minDowngrade = ctx->minDowngrade;
|
||||
ssl->options.haveRSA = ctx->haveRSA;
|
||||
ssl->options.haveDH = ctx->haveDH;
|
||||
#ifndef NO_CERTS
|
||||
/* Its possible that algorithm parameters were set in the ctx (ie: DH),
|
||||
* recalculate cipher suites. */
|
||||
if (ssl->options.haveDH) {
|
||||
@@ -6949,6 +6950,7 @@ int SetSSL_CTX(WOLFSSL* ssl, WOLFSSL_CTX* ctx, int writeDup)
|
||||
ssl->options.haveStaticECC, ssl->options.useAnon,
|
||||
TRUE, TRUE, TRUE, TRUE, ssl->options.side);
|
||||
}
|
||||
#endif /* ! NO_CERTS */
|
||||
ssl->options.haveECDSAsig = ctx->haveECDSAsig;
|
||||
ssl->options.haveECC = ctx->haveECC;
|
||||
ssl->options.haveStaticECC = ctx->haveStaticECC;
|
||||
|
Reference in New Issue
Block a user