mirror of
https://github.com/curl/curl.git
synced 2026-08-26 22:34:45 +03:00
build: drop redundant USE_QUICHE guards
When used together with `USE_OPENSSL`. `USE_QUICHE` always implies `USE_OPENSSL`. Also: merge two (now identical) `#if` blocks in `openssl.c`. Closes #21135
This commit is contained in:
parent
9f66cdddf4
commit
3c72928471
4 changed files with 8 additions and 17 deletions
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(USE_QUICHE) || defined(USE_OPENSSL)
|
||||
#ifdef USE_OPENSSL
|
||||
#include <openssl/opensslconf.h> /* for OPENSSL_NO_OCSP */
|
||||
#endif
|
||||
|
||||
|
|
@ -249,8 +249,7 @@ static const char *disabled[] = {
|
|||
#endif
|
||||
,
|
||||
"cert-status: "
|
||||
#if defined(USE_GNUTLS) || \
|
||||
((defined(USE_QUICHE) || defined(USE_OPENSSL)) && !defined(OPENSSL_NO_OCSP))
|
||||
#if defined(USE_GNUTLS) || (defined(USE_OPENSSL) && !defined(OPENSSL_NO_OCSP))
|
||||
"ON"
|
||||
#else
|
||||
"OFF"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue