summaryrefslogtreecommitdiff
path: root/mail/exim/patches/patch-ba
blob: 92eb17b3c25391e713de7a1a07bedd626c2ef1ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ba,v 1.2 2011/03/22 13:52:19 adam Exp $

--- src/lookups/ldap.c.orig	2011-03-22 11:32:30.000000000 +0000
+++ src/lookups/ldap.c
@@ -481,7 +481,7 @@ if (lcp == NULL)
       {
       cert_option = LDAP_OPT_X_TLS_TRY;
       }
-    ldap_set_option(ld, LDAP_OPT_X_TLS_REQUIRE_CERT, cert_option);
+    ldap_set_option(ld, LDAP_OPT_X_TLS_REQUIRE_CERT, &cert_option);
     }
   #endif