summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2017-01-31 17:25:06 +0000
committerBob Beck <beck@cvs.openbsd.org>2017-01-31 17:25:06 +0000
commit12b63832f7f743bb6a56d51891bdccb8f720de07 (patch)
tree81f72048a0661c52e342d0950b8d0f7275d3f86a
parent990c92c5c3654d1573fd2f49a2fcabfa260d6c25 (diff)
Correct mistake I made when converting this to new funciton
-rw-r--r--usr.sbin/httpd/server.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/httpd/server.c b/usr.sbin/httpd/server.c
index bd54db6c144..ee85d25776b 100644
--- a/usr.sbin/httpd/server.c
+++ b/usr.sbin/httpd/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.103 2017/01/31 16:18:57 beck Exp $ */
+/* $OpenBSD: server.c,v 1.104 2017/01/31 17:25:05 beck Exp $ */
/*
* Copyright (c) 2006 - 2015 Reyk Floeter <reyk@openbsd.org>
@@ -244,7 +244,8 @@ server_tls_init(struct server *srv)
if (tls_config_set_keypair_ocsp_mem(srv->srv_tls_config,
srv->srv_conf.tls_cert, srv->srv_conf.tls_cert_len,
srv->srv_conf.tls_key, srv->srv_conf.tls_key_len,
- srv_conf->tls_ocsp_staple, srv_conf->tls_ocsp_staple_len) != 0) {
+ srv->srv_conf.tls_ocsp_staple,
+ srv->srv_conf.tls_ocsp_staple_len) != 0) {
log_warnx("%s: failed to set tls certificate/key: %s",
__func__, tls_config_error(srv->srv_tls_config));
return (-1);