Ticket #22494: patch-constants.c.diff

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

Patch for constants.c to allow 2.3.10 to build (borrowed from the Gentoo project)

  • constants.c

    old new  
    181181        add_int(d,OPT_X_TLS_CRL_NONE);
    182182        add_int(d,OPT_X_TLS_CRL_PEER);
    183183        add_int(d,OPT_X_TLS_CRL_ALL);
     184#ifdef LDAP_OPT_X_TLS_NEWCTX
    184185        add_int(d,OPT_X_TLS_NEWCTX);
     186#endif
    185187#ifdef OPT_X_TLS_PROTOCOL_MIN
    186188        add_int(d,OPT_X_TLS_PROTOCOL_MIN);
    187189#endif