libpurple/certificate.c

changeset 20729
664377a892f8
parent 19864
ab4d16d072b8
child 20144
aa13bf205ce6
equal deleted inserted replaced
20728:3b7c8c45f843 20729:664377a892f8
1462 1462
1463 /* TODO: This should probably just prompt the user instead of throwing 1463 /* TODO: This should probably just prompt the user instead of throwing
1464 an angry fit */ 1464 an angry fit */
1465 if (!tls_peers) { 1465 if (!tls_peers) {
1466 purple_debug_error("certificate/x509/tls_cached", 1466 purple_debug_error("certificate/x509/tls_cached",
1467 "Couldn't find local peers cache %s\nReturning INVALID to callback\n", 1467 "Couldn't find local peers cache %s\nPrompting the user\n",
1468 tls_peers_name); 1468 tls_peers_name);
1469 1469
1470 purple_certificate_verify_complete(vrq, 1470
1471 PURPLE_CERTIFICATE_INVALID); 1471 /* vrq now becomes the problem of unknown_peer */
1472 x509_tls_cached_unknown_peer(vrq);
1472 return; 1473 return;
1473 } 1474 }
1474 1475
1475 /* Check if the peer has a certificate cached already */ 1476 /* Check if the peer has a certificate cached already */
1476 purple_debug_info("certificate/x509/tls_cached", 1477 purple_debug_info("certificate/x509/tls_cached",

mercurial