Ticket #22494: patch-options.c.diff

File patch-options.c.diff, 370 bytes (added by mdippery@…, 15 years ago)

Patch for options.c that allows 2.3.10 to build (borrowed from the Gentoo project)

  • options.c

    old new  
    7979#ifdef HAVE_TLS
    8080    case LDAP_OPT_X_TLS:
    8181    case LDAP_OPT_X_TLS_REQUIRE_CERT:
     82#ifdef LDAP_OPT_X_TLS_NEWCTX
    8283    case LDAP_OPT_X_TLS_NEWCTX:
     84#endif
    8385#ifdef OPT_X_TLS_PROTOCOL_MIN
    8486    case LDAP_OPT_X_TLS_PROTOCOL_MIN:
    8587#endif