summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-11-15 17:21:45 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2018-11-15 17:21:45 +0000
commit3ea7e2803969e2d18bcfcec1ad048f8028444533 (patch)
tree2d1d7eae4b5f72051963535bb5aa334576be3d24
parentd12746bc15d83ab821be36975da0179672708bc1 (diff)
downloadexim4-3ea7e2803969e2d18bcfcec1ad048f8028444533.tar.gz
OpenBSD: bump dns-result buffer to 64kB
This just to take out a difference in testsuite behaviour. Builds for memory-constrained devices could legitimately use 16kB.
-rw-r--r--src/OS/os.h-OpenBSD5
-rw-r--r--src/src/globals.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/OS/os.h-OpenBSD b/src/OS/os.h-OpenBSD
index b09bd84be..dde779f00 100644
--- a/src/OS/os.h-OpenBSD
+++ b/src/OS/os.h-OpenBSD
@@ -53,7 +53,8 @@ typedef struct __res_state *res_state;
#endif
#define TIME_T_FMT "%lld"
-/* seems arpa/nameser.h does not define this */
-#define NS_MAXMSG 16380
+/* seems arpa/nameser.h does not define this.
+Space-constrained devices could use much smaller; a few k. */
+#define NS_MAXMSG 65535
/* End */
diff --git a/src/src/globals.c b/src/src/globals.c
index 731d25c0a..b3362a34c 100644
--- a/src/src/globals.c
+++ b/src/src/globals.c
@@ -1220,7 +1220,7 @@ pid_t queue_run_pid = (pid_t)0;
int queue_run_pipe = -1;
uschar *queue_smtp_domains = NULL;
-unsigned int random_seed = 0;
+uint32_t random_seed = 0;
tree_node *ratelimiters_cmd = NULL;
tree_node *ratelimiters_conn = NULL;
tree_node *ratelimiters_mail = NULL;