1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

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

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...