aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/dirmngr_ldap.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-11-07 09:02:53 +0000
committerWerner Koch <[email protected]>2017-11-07 09:02:53 +0000
commitab7ac827041b5cd97bbca7a75b0930072dd6611f (patch)
tree79da0987a65092a455d0c42c8ebb9b3eb4c5b2ac /dirmngr/dirmngr_ldap.c
parentspeedo: Include software versions in the W32 README (diff)
downloadgnupg-ab7ac827041b5cd97bbca7a75b0930072dd6611f.tar.gz
gnupg-ab7ac827041b5cd97bbca7a75b0930072dd6611f.zip
dirmngr: Reduce default LDAP timeout to 15 seconds.
* dirmngr/dirmngr.c (DEFAULT_LDAP_TIMEOUT): Change to 15. * dirmngr/dirmngr_ldap.c (DEFAULT_LDAP_TIMEOUT): Ditto. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r--dirmngr/dirmngr_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/dirmngr_ldap.c b/dirmngr/dirmngr_ldap.c
index 5a9ae977c..5be4e5814 100644
--- a/dirmngr/dirmngr_ldap.c
+++ b/dirmngr/dirmngr_ldap.c
@@ -104,7 +104,7 @@ static void npth_protect (void) { }
typedef struct timeval my_ldap_timeval_t;
#endif
-#define DEFAULT_LDAP_TIMEOUT 100 /* Arbitrary long timeout. */
+#define DEFAULT_LDAP_TIMEOUT 15 /* Arbitrary long timeout. */
/* Constants for the options. */