summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/ssl.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-02-22 05:58:07 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-02-22 05:58:07 +0000
commitbcefe5c2e682e793f76d803b02bb23b885b658c9 (patch)
tree5a062d7d8ba6e6d618a2a29fc4ebbbed35c9cada /usr.sbin/relayd/ssl.c
parent9e07dc64a7f609b15dbf537d3f984b72641c918e (diff)
spacing
Diffstat (limited to 'usr.sbin/relayd/ssl.c')
-rw-r--r--usr.sbin/relayd/ssl.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/relayd/ssl.c b/usr.sbin/relayd/ssl.c
index cf5016d69e7..c42e4b3e999 100644
--- a/usr.sbin/relayd/ssl.c
+++ b/usr.sbin/relayd/ssl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.c,v 1.7 2007/02/22 03:32:40 reyk Exp $ */
+/* $OpenBSD: ssl.c,v 1.8 2007/02/22 05:58:06 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -94,7 +94,7 @@ ssl_read(int s, short event, void *arg)
break;
}
return;
- }
+ }
if (buf_add(cte->buf, rbuf, ret) == -1)
fatal("ssl_read: buf_add error");
if (cte->validate_read != NULL) {
@@ -120,7 +120,7 @@ ssl_write(int s, short event, void *arg)
{
struct ctl_tcp_event *cte = arg;
int len;
- int ret;
+ int ret;
int ssl_err;
int retry_flag;
@@ -134,7 +134,7 @@ ssl_write(int s, short event, void *arg)
len = strlen(cte->table->sendbuf);
retry_flag = EV_WRITE;
- ret = SSL_write(cte->ssl, cte->table->sendbuf, len);
+ ret = SSL_write(cte->ssl, cte->table->sendbuf, len);
if (ret <= 0) {
ssl_err = SSL_get_error(cte->ssl, ret);
switch (ssl_err) {
@@ -167,7 +167,7 @@ void
ssl_connect(int s, short event, void *arg)
{
struct ctl_tcp_event *cte = arg;
- int ret;
+ int ret;
int ssl_err;
int retry_flag;
@@ -179,7 +179,7 @@ ssl_connect(int s, short event, void *arg)
retry_flag = ssl_err = 0;
- ret = SSL_connect(cte->ssl);
+ ret = SSL_connect(cte->ssl);
if (ret <= 0) {
ssl_err = SSL_get_error(cte->ssl, ret);
switch (ssl_err) {
@@ -268,7 +268,7 @@ ssl_transaction(struct ctl_tcp_event *cte)
if (SSL_set_fd(cte->ssl, cte->s) == 0) {
cte->host->up = HOST_UNKNOWN;
- ssl_error(cte->host->name, "cannot set fd");
+ ssl_error(cte->host->name, "cannot set fd");
ssl_cleanup(cte);
hce_notify_done(cte->host,
"ssl_transaction: cannot set SSL fd");