summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/src/modules/ssl/mod_ssl.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2013-07-16 11:32:05 +0000
committerjsing <jsing@openbsd.org>2013-07-16 11:32:05 +0000
commit62d3e6ed9e6a686e00a4f3e4a48c1ec36b857207 (patch)
treeea0ab2f02b1703d9852da1bd6b8307a507f976e7 /usr.sbin/httpd/src/modules/ssl/mod_ssl.c
parentuse .Mt for AUTHORS email; from Jan Stary <hans at stare dot cz>; ok jmc@ (diff)
downloadwireguard-openbsd-62d3e6ed9e6a686e00a4f3e4a48c1ec36b857207.tar.xz
wireguard-openbsd-62d3e6ed9e6a686e00a4f3e4a48c1ec36b857207.zip
Define HonorCipherOrder as a FLAG (rather than as a TAKE1), so that it
works correctly as a boolean on/off flag. While here, rename the variable so that it is consistent with existing naming scheme. ok otto@ djm@
Diffstat (limited to 'usr.sbin/httpd/src/modules/ssl/mod_ssl.c')
-rw-r--r--usr.sbin/httpd/src/modules/ssl/mod_ssl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/httpd/src/modules/ssl/mod_ssl.c b/usr.sbin/httpd/src/modules/ssl/mod_ssl.c
index c516b4ae845..3a50bda9b8d 100644
--- a/usr.sbin/httpd/src/modules/ssl/mod_ssl.c
+++ b/usr.sbin/httpd/src/modules/ssl/mod_ssl.c
@@ -74,7 +74,7 @@
* identify the module to SCCS `what' and RCS `ident' commands
*/
static char const sccsid[] = "@(#) mod_ssl/" MOD_SSL_VERSION " >";
-static char const rcsid[] = "$Id: mod_ssl.c,v 1.11 2013/07/11 12:41:52 otto Exp $";
+static char const rcsid[] = "$Id: mod_ssl.c,v 1.12 2013/07/16 11:32:05 jsing Exp $";
/*
* the table of configuration directives we provide
@@ -107,9 +107,9 @@ static command_rec ssl_config_cmds[] = {
AP_SRV_CMD(Engine, FLAG,
"SSL switch for the protocol engine "
"(`on', `off')")
- AP_SRV_CMD(HonorCipherOrder, TAKE1,
+ AP_SRV_CMD(HonorCipherOrder, FLAG,
"Let the server determine preferred ciphers "
- "(`on', `off'")
+ "(`on', `off')")
AP_ALL_CMD(CipherSuite, TAKE1,
"Colon-delimited list of permitted SSL Ciphers "
"(`XXX:...:XXX' - see manual)")