Skip to content

Commit

Permalink
S2S-TLS: MAX_CERT_CHAIN_LENGTH is only used by OpenSSL
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarton committed Mar 23, 2024
1 parent 58ee4df commit c8589e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ngircd/conn-ssl.c
Expand Up @@ -45,15 +45,15 @@ 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;

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>
Expand Down

0 comments on commit c8589e9

Please sign in to comment.