[Commits] ssl.c 1.9.2.55 1.9.2.56
colin at claws-mail.org
colin at claws-mail.org
Wed Sep 12 10:52:49 CEST 2012
Update of /home/claws-mail/claws/src/common
In directory srv:/tmp/cvs-serv25974/src/common
Modified Files:
Tag: gtk2
ssl.c
Log Message:
2012-09-12 [colin] 3.8.1cvs51
* src/compose.c
* src/mh.c
* src/common/ssl.c
* src/plugins/pgpcore/passphrase.c
Apply patches from bug #1961, "patches for
a couple of clang warnings":
- Check return codes
- Remove dead code
Index: ssl.c
===================================================================
RCS file: /home/claws-mail/claws/src/common/ssl.c,v
retrieving revision 1.9.2.55
retrieving revision 1.9.2.56
diff -u -d -r1.9.2.55 -r1.9.2.56
--- ssl.c 12 Aug 2012 10:10:36 -0000 1.9.2.55
+++ ssl.c 12 Sep 2012 08:52:47 -0000 1.9.2.56
@@ -316,7 +316,7 @@
r = gnutls_certificate_verify_peers2(session, &status);
- if (!ssl_certificate_check(cert, status, sockinfo->hostname, sockinfo->port)) {
+ if (r < 0 || !ssl_certificate_check(cert, status, sockinfo->hostname, sockinfo->port)) {
gnutls_x509_crt_deinit(cert);
gnutls_certificate_free_credentials(xcred);
gnutls_deinit(session);
More information about the Commits
mailing list