From d82d018f2007222e78dced621a7647bc18ae7306 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 1 May 2002 04:40:26 +0000 Subject: [PATCH] add an RFC 2849 check... but behind #if 0 as I'm now thinking this is not appropriate. --- libraries/libldap/tls.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libraries/libldap/tls.c b/libraries/libldap/tls.c index 3795402426..19ad523acf 100644 --- a/libraries/libldap/tls.c +++ b/libraries/libldap/tls.c @@ -940,6 +940,15 @@ ldap_pvt_tls_check_hostname( void *s, const char *name_in ) { break; } + +#if 0 + /* Is this a RFC 2549 style wildcard match? */ + if ((*sn == '.') && domain && (len2 == sl) && + !strncasecmp(domain, sn, len2)) + { + break; + } +#endif } } -- 2.39.5