| 123456789101112131415161718192021222324252627282930 |
- From 6bfa7f43074d9167993d2e3312161a2c71cb2061 Mon Sep 17 00:00:00 2001
- From: Alexander Barton <alex@barton.de>
- Date: Fri, 5 Jan 2024 22:17:12 +0100
- Subject: [PATCH 11/20] S2S-TLS: MAX_CERT_CHAIN_LENGTH is only used by OpenSSL
- (cherry picked from commit c8589e9890742c377c78595131ef1cdc8d784c66)
- ---
- src/ngircd/conn-ssl.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
- --- a/src/ngircd/conn-ssl.c
- +++ b/src/ngircd/conn-ssl.c
- @@ -45,6 +45,8 @@
- #include <openssl/dh.h>
- #include <openssl/x509v3.h>
-
- +#define MAX_CERT_CHAIN_LENGTH 10 /* XXX: do not hardcode */
- +
- static SSL_CTX * ssl_ctx;
- static DH *dh_params;
-
- @@ -52,8 +54,6 @@
- static bool ConnSSL_SetVerifyProperties_openssl PARAMS((SSL_CTX * c));
- #endif
-
- -#define MAX_CERT_CHAIN_LENGTH 10 /* XXX: do not hardcode */
- -
- #ifdef HAVE_LIBGNUTLS
- #include <sys/types.h>
- #include <sys/stat.h>
|