242fc5b Fix broken build against older versions of OpenLDAP

Authored and Committed by sgallagh 13 years ago
    Fix broken build against older versions of OpenLDAP
    
    OpenLDAP < 2.4 used LDAP_OPT_ERROR_STRING. It was changed to
    LDAP_OPT_DIAGNOSTIC_MESSAGE in 2.4. This patch will allow the TLS
    error messages to be displayed on either version.
    
        
file modified
+10 -0