summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-02-06 10:06:56 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-02-06 10:06:56 +0000
commit29505116de99d5caffddb560a9daf4de550b0dd1 (patch)
tree1d27df04cc85dc4ca0f44dfc634c26e6a8eb7258 /usr.sbin/relayd
parent9f835dee6ce2f6967f7d56cd367aa6b159099e43 (diff)
declare the function ssl_error() globally
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r--usr.sbin/relayd/relayd.h3
-rw-r--r--usr.sbin/relayd/ssl.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/relayd/relayd.h b/usr.sbin/relayd/relayd.h
index 4fcb75a129d..48f0d2557ee 100644
--- a/usr.sbin/relayd/relayd.h
+++ b/usr.sbin/relayd/relayd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayd.h,v 1.19 2007/02/06 08:45:46 pyr Exp $ */
+/* $OpenBSD: relayd.h,v 1.20 2007/02/06 10:06:55 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -371,6 +371,7 @@ int check_send_expect(struct ctl_tcp_event *);
void ssl_init(struct hoststated *);
void ssl_transaction(struct ctl_tcp_event *);
SSL_CTX *ssl_ctx_create(struct hoststated *);
+void ssl_error(const char *, const char *);
/* hoststated.c */
struct host *host_find(struct hoststated *, objid_t);
diff --git a/usr.sbin/relayd/ssl.c b/usr.sbin/relayd/ssl.c
index e39358170e3..1068bc5b19f 100644
--- a/usr.sbin/relayd/ssl.c
+++ b/usr.sbin/relayd/ssl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.c,v 1.2 2007/01/30 11:48:06 pyr Exp $ */
+/* $OpenBSD: ssl.c,v 1.3 2007/02/06 10:06:55 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -39,7 +39,6 @@ void ssl_read(int, short, void *);
void ssl_write(int, short, void *);
void ssl_connect(int, short, void *);
void ssl_cleanup(struct ctl_tcp_event *);
-void ssl_error(const char *, const char *);
void
ssl_read(int s, short event, void *arg)