From: Sebastian B. <sb...@us...> - 2014-02-22 12:05:37
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv20781 Modified Files: ssl.c Log Message: Disable the usage of ssl2. Index: ssl.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/ssl.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- ssl.c 21 Feb 2014 06:36:10 -0000 1.2 +++ ssl.c 22 Feb 2014 12:05:35 -0000 1.3 @@ -45,6 +45,8 @@ if ((ctx = SSL_CTX_new(SSLv23_client_method()))) { + SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2); + if (SSL_CTX_set_default_verify_paths(ctx)) { return ctx; |