tags 621974 patch
thanks

Hello,

This is the patch which was used in Ubuntu to fix the problem.
https://launchpad.net/ubuntu/+source/qpopper/4.0.9.dfsg-1.2ubuntu1
Description: OpenSSL 1.0.0 dropped SSLv2 support. Handle this.
Author: Ilya Barygin <[email protected]>
Bug-Debian: http://bugs.debian.org/621974
--- qpopper-4.0.9.dfsg.orig/popper/pop_tls_openssl.c
+++ qpopper-4.0.9.dfsg/popper/pop_tls_openssl.c
@@ -318,10 +318,12 @@
             pTLS->m_OpenSSLmeth = SSLv23_server_method();
             break;
 
+#ifndef OPENSSL_NO_SSL2
         case QPOP_SSLv2:       /* SSL version 2 only */
             DEBUG_LOG0 ( pPOP, "...setting method to SSLv2_server_method" );
             pTLS->m_OpenSSLmeth = SSLv2_server_method();
             break;
+#endif
 
         case QPOP_SSLv3:       /* SSL version 3 only */
             DEBUG_LOG0 ( pPOP, "...setting method to SSLv3_server_method" );

Reply via email to