diff options
| author | Alexander Barton <alex@barton.de> | 2024-01-05 22:17:12 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2024-03-23 20:19:01 +0100 |
| commit | c8589e9890742c377c78595131ef1cdc8d784c66 (patch) | |
| tree | 1a4b0725ca02b023b3a05a70a3d25f399c3e7ad7 /src | |
| parent | 58ee4df2ae2e4e59ae8909b69670825229158da8 (diff) | |
| download | ngircd-c8589e9890742c377c78595131ef1cdc8d784c66.tar.gz ngircd-c8589e9890742c377c78595131ef1cdc8d784c66.zip | |
S2S-TLS: MAX_CERT_CHAIN_LENGTH is only used by OpenSSL
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/conn-ssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/conn-ssl.c b/src/ngircd/conn-ssl.c index ae864f50..50116288 100644 --- a/src/ngircd/conn-ssl.c +++ b/src/ngircd/conn-ssl.c @@ -45,6 +45,8 @@ extern struct SSLOptions Conf_SSLOptions; #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_LoadServerKey_openssl PARAMS(( SSL_CTX *c )); 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> |