mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Merge pull request #8911 from gojimmypi/pr-allow-only-rsa
Allow configuration with only RSA cipher suites
This commit is contained in:
@ -48,9 +48,11 @@
|
|||||||
#if !defined(WOLFSSL_ALLOW_NO_SUITES) && !defined(WOLFCRYPT_ONLY)
|
#if !defined(WOLFSSL_ALLOW_NO_SUITES) && !defined(WOLFCRYPT_ONLY)
|
||||||
#if defined(NO_DH) && !defined(HAVE_ECC) && !defined(WOLFSSL_STATIC_RSA) \
|
#if defined(NO_DH) && !defined(HAVE_ECC) && !defined(WOLFSSL_STATIC_RSA) \
|
||||||
&& !defined(WOLFSSL_STATIC_DH) && !defined(WOLFSSL_STATIC_PSK) \
|
&& !defined(WOLFSSL_STATIC_DH) && !defined(WOLFSSL_STATIC_PSK) \
|
||||||
&& !defined(HAVE_CURVE25519) && !defined(HAVE_CURVE448)
|
&& !defined(HAVE_CURVE25519) && !defined(HAVE_CURVE448) \
|
||||||
|
&& defined(NO_RSA)
|
||||||
#error "No cipher suites defined because DH disabled, ECC disabled, " \
|
#error "No cipher suites defined because DH disabled, ECC disabled, " \
|
||||||
"and no static suites defined. Please see top of README"
|
"RSA disabled and no static suites defined. " \
|
||||||
|
"Please see top of README"
|
||||||
#endif
|
#endif
|
||||||
#ifdef WOLFSSL_CERT_GEN
|
#ifdef WOLFSSL_CERT_GEN
|
||||||
/* need access to Cert struct for creating certificate */
|
/* need access to Cert struct for creating certificate */
|
||||||
|
Reference in New Issue
Block a user