commit 8d607444432360ac8934050ab4eea636a26206c6
Author: Oswald Buddenhagen <o...@kde.org>
Date:   Sun Apr 10 13:28:48 2011 +0200

    security fix: failure to load the certificate file is *not* OK ...

 src/socket.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/socket.c b/src/socket.c
index 0e0d2fa..5b81792 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -147,7 +147,7 @@ verify_cert( const server_conf_t *conf, Socket_t *sock )
                if (!(fp = fopen( conf->cert_file, "rt" ))) {
                        error( "Unable to load CertificateFile '%s': %s\n",
                               conf->cert_file, strerror( errno ) );
-                       return 0;
+                       return -1;
                }
                err = -1;
                for (lcert = 0; READ_X509_KEY( fp, &lcert ); )

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to