summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relayd.h
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-09-27 13:34:23 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-09-27 13:34:23 +0000
commit9dc14ddbc786648e7ebc2d7286890734a0a4ec1a (patch)
treeaa11b918c3ac0fde2a7f1aa3a68d6ccfb02d632e /usr.sbin/relayd/relayd.h
parentdcd40fca81b8b00a42f5c0f4bad178d01883107d (diff)
Simplify ssl_privsep.c, since it won't need to remain synced with the
equivalent openssl functions.
Diffstat (limited to 'usr.sbin/relayd/relayd.h')
-rw-r--r--usr.sbin/relayd/relayd.h7
1 files changed, 5 insertions, 2 deletions
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 <pyr@spootnik.org>
@@ -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 */