1
0
Fork 0
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:
Philipp Hancke 2011-08-01 10:22:52 +02:00 committed by psyc://psyced.org/~lynX
parent 85b4d2f1dc
commit 3c20b2cd37
5 changed files with 84 additions and 6 deletions

View file

@ -485,6 +485,8 @@ open_stream(XMLNode node) {
// sasl anonymous
"<mechanism>ANONYMOUS</mechanism>";
#endif
// here it makes sense to use check_jabbername
// but that is currently unused anyway
#if __EFUN_DEFINED__(tls_available)
if (tls_available() && tls_query_connection_state(ME) > 0
&& mappingp(certinfo) && certinfo[0] == 0