]> git.sur5r.net Git - openldap/commitdiff
Hide code behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST
authorHoward Chu <hyc@openldap.org>
Tue, 16 Mar 2004 01:48:21 +0000 (01:48 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 16 Mar 2004 01:48:21 +0000 (01:48 +0000)
libraries/libldap/ppolicy.c

index b9c5e15ce72bb4fa862922f6e5ddacccfb9da8a2..b9c8866c43fd8bb50f07feb9dd57a5f578c8d953 100644 (file)
@@ -22,6 +22,8 @@
 
 #include "ldap-int.h"
 
+#ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST
+
 #define PPOLICY_WARNING 0xa0L
 #define PPOLICY_ERROR 0xa1L
 
@@ -203,3 +205,5 @@ ldap_passwordpolicy_err2txt( LDAPPasswordPolicyError err )
                default: return "Unknown error code";
        }
 }
+
+#endif /* LDAP_CONTROL_PASSWORDPOLICYREQUEST */