You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
349 B

  1. --- a/libraries/libldap/tls2.c
  2. +++ b/libraries/libldap/tls2.c
  3. @@ -41,6 +41,7 @@ static tls_impl *tls_imp = &ldap_int_tls
  4. #define HAS_TLS( sb ) ber_sockbuf_ctrl( sb, LBER_SB_OPT_HAS_IO, \
  5. (void *)tls_imp->ti_sbio )
  6. +static int ldap_pvt_tls_check_hostname( LDAP *ld, void *s, const char *name_in );
  7. #endif /* HAVE_TLS */
  8. #ifdef LDAP_DEVEL