mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
replace certificate_check_jabbername by certificate_check_name
This commit is contained in:
parent
85b4d2f1dc
commit
3c20b2cd37
5 changed files with 84 additions and 6 deletions
|
@ -315,7 +315,7 @@ tls_logon(result) {
|
|||
mixed cert = tls_certificate(ME, 0);
|
||||
P3(("active::certinfo %O\n", cert))
|
||||
if (mappingp(cert)) {
|
||||
unless (certificate_check_jabbername(hostname, cert)) {
|
||||
unless (certificate_check_name(hostname, cert, "xmpp-server")) {
|
||||
#ifdef _flag_report_bogus_certificates
|
||||
monitor_report("_error_invalid_certificate_identity",
|
||||
sprintf("%O presented a certificate that "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue