mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Hide code behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST
This commit is contained in:
parent
2f86087e56
commit
1dc6c053c1
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user