You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
678 B

  1. --- a/spamc/libspamc.c
  2. +++ b/spamc/libspamc.c
  3. @@ -1213,9 +1213,11 @@ int message_filter(struct transport *tp,
  4. if (flags & SPAMC_USE_SSL) {
  5. #ifdef SPAMC_SSL
  6. +#if 0
  7. SSLeay_add_ssl_algorithms();
  8. - meth = SSLv23_client_method();
  9. SSL_load_error_strings();
  10. +#endif
  11. + meth = SSLv23_client_method();
  12. ctx = SSL_CTX_new(meth);
  13. #else
  14. UNUSED_VARIABLE(ssl);
  15. @@ -1600,9 +1602,11 @@ int message_tell(struct transport *tp, c
  16. if (flags & SPAMC_USE_SSL) {
  17. #ifdef SPAMC_SSL
  18. +#if 0
  19. SSLeay_add_ssl_algorithms();
  20. - meth = SSLv23_client_method();
  21. SSL_load_error_strings();
  22. +#endif
  23. + meth = SSLv23_client_method();
  24. ctx = SSL_CTX_new(meth);
  25. #else
  26. UNUSED_VARIABLE(ssl);