summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2015-02-06 01:37:12 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2015-02-06 01:37:12 +0000
commit1eb107492b7f4d54c62403aa1d3c7afda0c3a2af (patch)
tree80d37007f7151b791599e734ad083c6ba0b436f7 /usr.sbin/relayd
parentb31ace77dd671ace8447db36f28b11a23a81a57d (diff)
Rename SSL_CTX_use_certificate_chain() to SSL_CTX_use_certificate_chain_mem().
As discussed with beck@ jsing@ and others OK beck@
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r--usr.sbin/relayd/relay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/relay.c b/usr.sbin/relayd/relay.c
index 34e7312d45d..0818a691e78 100644
--- a/usr.sbin/relayd/relay.c
+++ b/usr.sbin/relayd/relay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relay.c,v 1.190 2015/01/22 17:42:09 reyk Exp $ */
+/* $OpenBSD: relay.c,v 1.191 2015/02/06 01:37:11 reyk Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
@@ -2059,7 +2059,7 @@ relay_tls_ctx_create(struct relay *rlay)
return (ctx);
log_debug("%s: loading certificate", __func__);
- if (!SSL_CTX_use_certificate_chain(ctx,
+ if (!SSL_CTX_use_certificate_chain_mem(ctx,
rlay->rl_tls_cert, rlay->rl_conf.tls_cert_len))
goto err;