Merge pull request #2797 from kaleb-himes/JENKINS_STUFF

--disable-supportedcurves --enable-opensslextra - NIGHTLY DISABLE OPT…
This commit is contained in:
David Garske
2020-02-14 09:01:03 -08:00
committed by GitHub

View File

@ -2307,8 +2307,7 @@ int wolfSSL_CTX_UseOCSPStaplingV2(WOLFSSL_CTX* ctx, byte status_type,
#endif /* HAVE_CERTIFICATE_STATUS_REQUEST_V2 */
/* Elliptic Curves */
#ifdef HAVE_SUPPORTED_CURVES
#ifndef NO_WOLFSSL_CLIENT
#if defined(HAVE_SUPPORTED_CURVES) && !defined(NO_WOLFSSL_CLIENT)
int wolfSSL_UseSupportedCurve(WOLFSSL* ssl, word16 name)
{
@ -2386,8 +2385,7 @@ int wolfSSL_CTX_UseSupportedCurve(WOLFSSL_CTX* ctx, word16 name)
return TLSX_UseSupportedCurve(&ctx->extensions, name, ctx->heap);
}
#endif /* NO_WOLFSSL_CLIENT */
#endif /* HAVE_SUPPORTED_CURVES */
#endif /* HAVE_SUPPORTED_CURVES && !NO_WOLFSSL_CLIENT */
/* QSH quantum safe handshake */
#ifdef HAVE_QSH
@ -44552,7 +44550,7 @@ int wolfSSL_CTX_set1_curves_list(WOLFSSL_CTX* ctx, const char* names)
return WOLFSSL_FAILURE;
}
#ifndef NO_WOLFSSL_CLIENT
#if defined(HAVE_SUPPORTED_CURVES) && !defined(NO_WOLFSSL_CLIENT)
/* set the supported curve so client TLS extension contains only the
* desired curves */
if (wolfSSL_CTX_UseSupportedCurve(ctx, curve) != WOLFSSL_SUCCESS) {