From: Sebastian B. <sb...@us...> - 2014-02-21 06:33:56
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25252 Modified Files: tcp.c Log Message: Enable verification of the certificates. Index: tcp.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/tcp.c,v retrieving revision 1.49 retrieving revision 1.50 diff -u -d -r1.49 -r1.50 --- tcp.c 10 Dec 2011 14:21:34 -0000 1.49 +++ tcp.c 21 Feb 2014 06:33:54 -0000 1.50 @@ -244,6 +244,8 @@ return 0; } + SSL_set_verify(conn->ssl, SSL_VERIFY_PEER, NULL); + /* Associate a socket with ssl structure */ SSL_set_fd(conn->ssl, conn->socket); |