changeset 20247:e6315ec87124

applied changes from 92e6c32278d711f0d5807c4d931b26162e4a720f through 9e879ffd528064d9e1cef9eb4f5fb3cfee8b193f
author Richard Laager <rlaager@wiktel.com>
date Fri, 28 Sep 2007 15:59:51 +0000
parents 426df717a831
children 59858265fc7b
files libpurple/certificate.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/certificate.c	Fri Sep 28 15:59:14 2007 +0000
+++ b/libpurple/certificate.c	Fri Sep 28 15:59:51 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;
 	}