- Prompt the user if the local peer certificate cache is not found.

Thu, 27 Sep 2007 08:12:09 +0000

author
William Ehlhardt <williamehlhardt@gmail.com>
date
Thu, 27 Sep 2007 08:12:09 +0000
changeset 20729
664377a892f8
parent 20728
3b7c8c45f843
child 20730
810588696e4b

- Prompt the user if the local peer certificate cache is not found.
Fixes #3318

libpurple/certificate.c file | annotate | diff | comparison | revisions
--- a/libpurple/certificate.c	Thu Sep 27 04:41:04 2007 +0000
+++ b/libpurple/certificate.c	Thu Sep 27 08:12:09 2007 +0000
@@ -1464,11 +1464,12 @@
 	   an angry fit */
 	if (!tls_peers) {
 		purple_debug_error("certificate/x509/tls_cached",
-				   "Couldn't find local peers cache %s\nReturning INVALID to callback\n",
+				   "Couldn't find local peers cache %s\nPrompting the user\n",
 				   tls_peers_name);
 
-		purple_certificate_verify_complete(vrq,
-						   PURPLE_CERTIFICATE_INVALID);
+
+		/* vrq now becomes the problem of unknown_peer */
+		x509_tls_cached_unknown_peer(vrq);
 		return;
 	}
 	

mercurial