1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-10-27 20:36:18 +00:00

S2S-SSL/GnuTLS: Enable CRL verification

This commit is contained in:
Christoph Biedl 2024-03-31 00:36:53 +01:00 committed by Alexander Barton
parent b9d6a2f49c
commit b2c9049af2

View File

@ -518,6 +518,7 @@ ConnSSL_LoadServerKey_gnutls(void)
return false;
gnutls_certificate_set_dh_params(x509_cred, dh_params);
gnutls_certificate_set_flags(x509_cred, GNUTLS_CERTIFICATE_VERIFY_CRLS);
cert_file = Conf_SSLOptions.CertFile ?
Conf_SSLOptions.CertFile : Conf_SSLOptions.KeyFile;