Several defines in util_ldap for certificate file types are no longer used
and can be deleted, They were moved to apr_ldap_option.h with the APR_
prefix added

Here's a subset of the defines now in apr_ldap_option.h:
/** CA certificate type unknown */
#define APR_LDAP_CA_TYPE_UNKNOWN    0
/** binary DER encoded CA certificate */
#define APR_LDAP_CA_TYPE_DER        1




PATCH:
Index: util_ldap.c
===================================================================
--- util_ldap.c (revision 494665)
+++ util_ldap.c (working copy)
@@ -45,14 +45,6 @@
#include "unixd.h"
#endif

-    /* defines for certificate file types
-    */
-#define LDAP_CA_TYPE_UNKNOWN            0
-#define LDAP_CA_TYPE_DER                1
-#define LDAP_CA_TYPE_BASE64             2
-#define LDAP_CA_TYPE_CERT7_DB           3
-
-
module AP_MODULE_DECLARE_DATA ldap_module;

#define LDAP_CACHE_LOCK() do {                                  \



--
David Jones
[EMAIL PROTECTED]

Reply via email to