From 9dc14ddbc786648e7ebc2d7286890734a0a4ec1a Mon Sep 17 00:00:00 2001 From: Pierre-Yves Ritschard Date: Thu, 27 Sep 2007 13:34:23 +0000 Subject: Simplify ssl_privsep.c, since it won't need to remain synced with the equivalent openssl functions. --- usr.sbin/relayd/relayd.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'usr.sbin/relayd/relayd.h') diff --git a/usr.sbin/relayd/relayd.h b/usr.sbin/relayd/relayd.h index fa7485e1a33..5456334f7cb 100644 --- a/usr.sbin/relayd/relayd.h +++ b/usr.sbin/relayd/relayd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: relayd.h,v 1.61 2007/09/25 08:24:26 pyr Exp $ */ +/* $OpenBSD: relayd.h,v 1.62 2007/09/27 13:34:21 pyr Exp $ */ /* * Copyright (c) 2006, 2007 Pierre-Yves Ritschard @@ -524,6 +524,9 @@ struct relay_config { struct relay { TAILQ_ENTRY(relay) entry; + int cert_fd; + int key_fd; + struct relay_config conf; int up; struct protocol *proto; @@ -736,7 +739,7 @@ SSL_CTX *ssl_ctx_create(struct hoststated *); void ssl_error(const char *, const char *); /* ssl_privsep.c */ -int ssl_ctx_use_private_key(SSL_CTX *, int, int); +int ssl_ctx_use_private_key(SSL_CTX *, int); int ssl_ctx_use_certificate_chain(SSL_CTX *, int); /* hoststated.c */ -- cgit v1.2.3