0003-S2S-TLS-Add-missing-CAFile-and-CRLFile-options-to-co.patch 1.0 KB

12345678910111213141516171819202122232425262728
  1. From b50be568a0d4d67532b3539eb00908473ff6d956 Mon Sep 17 00:00:00 2001
  2. From: Alexander Barton <alex@barton.de>
  3. Date: Sat, 16 Dec 2023 16:29:05 +0100
  4. Subject: [PATCH 03/20] S2S-TLS: Add missing CAFile and CRLFile options to
  5. "configtest" output
  6. (cherry picked from commit 5ca567a18caf699f93495ba2bc3749fb5f65383b)
  7. ---
  8. src/ngircd/conf.c | 4 ++++
  9. 1 file changed, 4 insertions(+)
  10. --- a/src/ngircd/conf.c
  11. +++ b/src/ngircd/conf.c
  12. @@ -441,10 +441,14 @@
  13. #ifdef SSL_SUPPORT
  14. puts("[SSL]");
  15. + printf(" CAFile = %s\n", Conf_SSLOptions.CAFile
  16. + ? Conf_SSLOptions.CAFile : "");
  17. printf(" CertFile = %s\n", Conf_SSLOptions.CertFile
  18. ? Conf_SSLOptions.CertFile : "");
  19. printf(" CipherList = %s\n", Conf_SSLOptions.CipherList ?
  20. Conf_SSLOptions.CipherList : DEFAULT_CIPHERS);
  21. + printf(" CRLFile = %s\n", Conf_SSLOptions.CRLFile
  22. + ? Conf_SSLOptions.CRLFile : "");
  23. printf(" DHFile = %s\n", Conf_SSLOptions.DHFile
  24. ? Conf_SSLOptions.DHFile : "");
  25. printf(" KeyFile = %s\n", Conf_SSLOptions.KeyFile