is it too hard to do a proper search & replace?

This commit is contained in:
psyc://psyced.org/~lynX 2011-08-22 23:44:39 +02:00
parent 5f18048fdb
commit aaa3e94623
1 changed files with 6 additions and 6 deletions

View File

@ -321,14 +321,14 @@ tls_logon(result) {
monitor_report("_error_invalid_certificate_identity", monitor_report("_error_invalid_certificate_identity",
sprintf("%O presented a certificate that " sprintf("%O presented a certificate that "
"contains %O/%O", "contains %O/%O",
hostname, cert["2.5.4.3"], hostname, certinfo["2.5.4.3"],
cert["2.5.29.17:1.3.6.1.5.5.7.8.5"])); certinfo["2.5.29.17:1.3.6.1.5.5.7.8.5"]));
#endif #endif
#ifdef _flag_log_bogus_certificates #ifdef _flag_log_bogus_certificates
log_file("CERTS", S("%O %O %O id?\n", ME, hostname, cert)); log_file("CERTS", S("%O %O %O id?\n", ME, hostname, certinfo));
#else #else
P1(("TLS: %s presented a certificate with unexpected identity.\n", hostname)) P1(("TLS: %s presented a certificate with unexpected identity.\n", hostname))
P2(("%O\n", cert)) P2(("%O\n", certinfo))
#endif #endif
#if 0 //def _flag_reject_bogus_certificates #if 0 //def _flag_reject_bogus_certificates
QUIT QUIT
@ -342,10 +342,10 @@ tls_logon(result) {
hostname)); hostname));
#endif #endif
#ifdef _flag_log_bogus_certificates #ifdef _flag_log_bogus_certificates
log_file("CERTS", S("%O %O %O\n", ME, hostname, cert)); log_file("CERTS", S("%O %O %O\n", ME, hostname, certinfo));
#else #else
P1(("TLS: %s presented untrusted certificate.\n", hostname)) P1(("TLS: %s presented untrusted certificate.\n", hostname))
P2(("%O\n", cert)) P2(("%O\n", certinfo))
#endif #endif
#if 0 //def _flag_reject_bogus_certificates #if 0 //def _flag_reject_bogus_certificates
// QUIT is wrong... // QUIT is wrong...