[Pkg-wmaker-commits] [wmbiff] 05/38: invalid is returned when it doesn't match?

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:03:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to tag wmbiff_0_4_16
in repository wmbiff.

commit 273d5b6a0917e1b4bdc4906f5d626ba1ce232937
Author: bluehal <bluehal>
Date:   Mon Apr 7 10:10:26 2003 +0000

    invalid is returned when it doesn't match?
---
 wmbiff/tlsComm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/wmbiff/tlsComm.c b/wmbiff/tlsComm.c
index f896db5..d5259af 100644
--- a/wmbiff/tlsComm.c
+++ b/wmbiff/tlsComm.c
@@ -312,7 +312,8 @@ int tls_check_certificate(struct connection_state *scs,
 	} else if (certstat & GNUTLS_CERT_REVOKED) {
 		bad_certificate(scs, "server's certificate has been revoked.\n");
 	} else if (certstat & GNUTLS_CERT_INVALID) {
-		bad_certificate(scs, "server's certificate is invalid.\n");
+		bad_certificate(scs, "server's certificate is invalid.\n"
+                        "there may be a problem with the certificate stored in your certfile");
 	} else if (certstat & GNUTLS_CERT_NOT_TRUSTED) {
 		TDM(DEBUG_INFO, "server's certificate is not trusted.\n");
 		TDM(DEBUG_INFO,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git



More information about the Pkg-wmaker-commits mailing list