summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2018-08-19 18:03:36 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2018-08-19 18:03:36 +0000
commit35b4feec611bfd00af5c4d60880eff77d53b017b (patch)
tree8873539c28566653ae7af8620d8616fc3088ed39 /usr.sbin
parentc5cdfc8c430d5dc5ea9223c2b0e587c75eac4134 (diff)
double the allowed length for the 'tls ciphers' option
for example now it can hold the recommended cipher list from the mozilla ssl config generator rather than failing with a "ciphers too long" error. ok benno@ sthen@ tb@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/httpd/httpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/httpd/httpd.h b/usr.sbin/httpd/httpd.h
index 907989c9bfa..5cfbd996bad 100644
--- a/usr.sbin/httpd/httpd.h
+++ b/usr.sbin/httpd/httpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: httpd.h,v 1.138 2018/06/20 16:43:05 reyk Exp $ */
+/* $OpenBSD: httpd.h,v 1.139 2018/08/19 18:03:35 jasper Exp $ */
/*
* Copyright (c) 2006 - 2015 Reyk Floeter <reyk@openbsd.org>
@@ -60,7 +60,7 @@
#define HTTPD_LOGVIS VIS_NL|VIS_TAB|VIS_CSTYLE
#define HTTPD_TLS_CERT "/etc/ssl/server.crt"
#define HTTPD_TLS_KEY "/etc/ssl/private/server.key"
-#define HTTPD_TLS_CONFIG_MAX 255
+#define HTTPD_TLS_CONFIG_MAX 511
#define HTTPD_TLS_CIPHERS "compat"
#define HTTPD_TLS_DHE_PARAMS "none"
#define HTTPD_TLS_ECDHE_CURVES "default"