summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/src/modules/ssl/ssl_engine_kernel.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/ssl_engine_kernel.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/ssl_engine_kernel.c')
-rw-r--r--usr.sbin/httpd/src/modules/ssl/ssl_engine_kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/httpd/src/modules/ssl/ssl_engine_kernel.c b/usr.sbin/httpd/src/modules/ssl/ssl_engine_kernel.c
index 89823934f68..254757b60cc 100644
--- a/usr.sbin/httpd/src/modules/ssl/ssl_engine_kernel.c
+++ b/usr.sbin/httpd/src/modules/ssl/ssl_engine_kernel.c
@@ -802,7 +802,7 @@ int ssl_hook_Access(request_rec *r)
sk_SSL_CIPHER_free(skCipherOld);
/* tracing */
if (renegotiate) {
- if (sc->cipher_server_pref == TRUE)
+ if (sc->bHonorCipherOrder == TRUE)
SSL_set_options(ssl, SSL_OP_CIPHER_SERVER_PREFERENCE);
ssl_log(r->server, SSL_LOG_TRACE,
"Reconfigured cipher suite will force renegotiation");