diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-06-26 18:49:22 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-06-26 18:49:22 +0000 |
commit | 6803492f676540bb007d6ef6e432d9f31fe7a7c1 (patch) | |
tree | 783584dac6d31286ddab67c8ae4666b6c1ca9f7c /security/cyrus-sasl/files | |
parent | cda6ba3678d2a7d61e9cb90b1d7754b169141ac2 (diff) |
Notes
Diffstat (limited to 'security/cyrus-sasl/files')
-rw-r--r-- | security/cyrus-sasl/files/patch-lib::checkpw.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/security/cyrus-sasl/files/patch-lib::checkpw.c b/security/cyrus-sasl/files/patch-lib::checkpw.c new file mode 100644 index 000000000000..3bc40e300107 --- /dev/null +++ b/security/cyrus-sasl/files/patch-lib::checkpw.c @@ -0,0 +1,17 @@ +--- lib/checkpw.c.orig Mon Jun 17 18:28:29 2002 ++++ lib/checkpw.c Mon Jun 17 18:31:44 2002 +@@ -1667,12 +1667,14 @@ + return SASL_FAIL; + } + /* setting dereferensing aliases mode */ ++#ifdef LDAP_OPT_DEREF + if (ldap_set_option(ld, LDAP_OPT_DEREF, (void *) &ldap_deref) != LDAP_OPT_SUCCESS) { + if (reply) { + *reply = "cannot set deref options"; + } + return SASL_FAIL; + } ++#endif + /* set ssl mode if needed */ + #ifdef LDAP_OPT_X_TLS + if ( ldap_ssl_flag ) { |