mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 09:50:29 +00:00
S2S-TLS: MAX_CERT_CHAIN_LENGTH is only used by OpenSSL
This commit is contained in:
parent
58ee4df2ae
commit
c8589e9890
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user