]> git.sur5r.net Git - openldap/commitdiff
add an RFC 2849 check... but behind #if 0 as I'm now thinking this
authorKurt Zeilenga <kurt@openldap.org>
Wed, 1 May 2002 04:40:26 +0000 (04:40 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 1 May 2002 04:40:26 +0000 (04:40 +0000)
is not appropriate.

libraries/libldap/tls.c

index 3795402426959e19798b2731ab3cfa74af04eda8..19ad523acf3c45c5636b001f8ebdf8d196ceee8a 100644 (file)
@@ -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
                                }
                        }