summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relay.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/relayd/relay.c')
-rw-r--r--usr.sbin/relayd/relay.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/relayd/relay.c b/usr.sbin/relayd/relay.c
index edef5c0a476..2dfe205dcae 100644
--- a/usr.sbin/relayd/relay.c
+++ b/usr.sbin/relayd/relay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relay.c,v 1.49 2007/10/05 15:46:49 reyk Exp $ */
+/* $OpenBSD: relay.c,v 1.50 2007/10/05 17:32:13 reyk Exp $ */
/*
* Copyright (c) 2006, 2007 Reyk Floeter <reyk@openbsd.org>
@@ -408,7 +408,7 @@ relay_init(void)
TAILQ_FOREACH(rlay, &env->relays, entry) {
if ((rlay->conf.flags & F_SSL) &&
- (rlay->ctx = relay_ssl_ctx_create(rlay)) == NULL)
+ (rlay->ssl_ctx = relay_ssl_ctx_create(rlay)) == NULL)
fatal("relay_init: failed to create SSL context");
if (rlay->dsttable != NULL) {
@@ -2126,7 +2126,7 @@ relay_ssl_transaction(struct session *con)
struct relay *rlay = (struct relay *)con->relay;
SSL *ssl;
- ssl = SSL_new(rlay->ctx);
+ ssl = SSL_new(rlay->ssl_ctx);
if (ssl == NULL)
goto err;