mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-13 10:20:28 +00:00
S2S-SSL/GnuTLS: Enable CRL verification
This commit is contained in:
parent
b9d6a2f49c
commit
b2c9049af2
@ -518,6 +518,7 @@ ConnSSL_LoadServerKey_gnutls(void)
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
gnutls_certificate_set_dh_params(x509_cred, dh_params);
|
gnutls_certificate_set_dh_params(x509_cred, dh_params);
|
||||||
|
gnutls_certificate_set_flags(x509_cred, GNUTLS_CERTIFICATE_VERIFY_CRLS);
|
||||||
|
|
||||||
cert_file = Conf_SSLOptions.CertFile ?
|
cert_file = Conf_SSLOptions.CertFile ?
|
||||||
Conf_SSLOptions.CertFile : Conf_SSLOptions.KeyFile;
|
Conf_SSLOptions.CertFile : Conf_SSLOptions.KeyFile;
|
||||||
|
Loading…
Reference in New Issue
Block a user