summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relayd.h
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-09-25 08:24:27 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-09-25 08:24:27 +0000
commitb576f1e814fcffd832458c1f665c10b82ddbcdd5 (patch)
treee4b9173468d1d2f5d0a80b7ed94516bb3e4669c5 /usr.sbin/relayd/relayd.h
parente6055d3fccdffa80b7f16225ddb3980ff25b1e93 (diff)
Introduce two new functions to be able to load certificates while
already chrooted and with privileges dropped. This is the very first step in being able to reload a layer 7 configuration. not ok reyk who's away but should be glad to see this in.
Diffstat (limited to 'usr.sbin/relayd/relayd.h')
-rw-r--r--usr.sbin/relayd/relayd.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/relayd/relayd.h b/usr.sbin/relayd/relayd.h
index 6bfe46f7dd0..fa7485e1a33 100644
--- a/usr.sbin/relayd/relayd.h
+++ b/usr.sbin/relayd/relayd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayd.h,v 1.60 2007/09/10 11:59:22 reyk Exp $ */
+/* $OpenBSD: relayd.h,v 1.61 2007/09/25 08:24:26 pyr Exp $ */
/*
* Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -735,6 +735,10 @@ void ssl_transaction(struct ctl_tcp_event *);
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_certificate_chain(SSL_CTX *, int);
+
/* hoststated.c */
struct host *host_find(struct hoststated *, objid_t);
struct table *table_find(struct hoststated *, objid_t);