mirror of https://github.com/wolfSSL/wolfssl.git
keySz is only in Buffers if NO_CERTS not defined.
parent
6385999ae9
commit
d45e42e2e6
|
@ -6929,6 +6929,7 @@ int SetSSL_CTX(WOLFSSL* ssl, WOLFSSL_CTX* ctx, int writeDup)
|
||||||
ssl->options.minDowngrade = ctx->minDowngrade;
|
ssl->options.minDowngrade = ctx->minDowngrade;
|
||||||
ssl->options.haveRSA = ctx->haveRSA;
|
ssl->options.haveRSA = ctx->haveRSA;
|
||||||
ssl->options.haveDH = ctx->haveDH;
|
ssl->options.haveDH = ctx->haveDH;
|
||||||
|
#ifndef NO_CERTS
|
||||||
/* Its possible that algorithm parameters were set in the ctx (ie: DH),
|
/* Its possible that algorithm parameters were set in the ctx (ie: DH),
|
||||||
* recalculate cipher suites. */
|
* recalculate cipher suites. */
|
||||||
if (ssl->options.haveDH) {
|
if (ssl->options.haveDH) {
|
||||||
|
@ -6949,6 +6950,7 @@ int SetSSL_CTX(WOLFSSL* ssl, WOLFSSL_CTX* ctx, int writeDup)
|
||||||
ssl->options.haveStaticECC, ssl->options.useAnon,
|
ssl->options.haveStaticECC, ssl->options.useAnon,
|
||||||
TRUE, TRUE, TRUE, TRUE, ssl->options.side);
|
TRUE, TRUE, TRUE, TRUE, ssl->options.side);
|
||||||
}
|
}
|
||||||
|
#endif /* ! NO_CERTS */
|
||||||
ssl->options.haveECDSAsig = ctx->haveECDSAsig;
|
ssl->options.haveECDSAsig = ctx->haveECDSAsig;
|
||||||
ssl->options.haveECC = ctx->haveECC;
|
ssl->options.haveECC = ctx->haveECC;
|
||||||
ssl->options.haveStaticECC = ctx->haveStaticECC;
|
ssl->options.haveStaticECC = ctx->haveStaticECC;
|
||||||
|
|
Loading…
Reference in New Issue