summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2015-09-09 17:43:43 +0000
committerBob Beck <beck@cvs.openbsd.org>2015-09-09 17:43:43 +0000
commit2dd5a5911f19ac53cddb42d3f11a189b225f693c (patch)
treec9a4373fd7d0b4e5b34f2dff955dfe842646ec8b /lib
parente8f78711a965c3eeb7fc3dc9b8a0f4b854d6bb8d (diff)
nuke trailing whitespace
ok jsing@
Diffstat (limited to 'lib')
-rw-r--r--lib/libtls/tls.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libtls/tls.c b/lib/libtls/tls.c
index 445933d1760..c7e36a81817 100644
--- a/lib/libtls/tls.c
+++ b/lib/libtls/tls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls.c,v 1.15 2015/08/27 15:26:49 jsing Exp $ */
+/* $OpenBSD: tls.c,v 1.16 2015/09/09 17:43:42 beck Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@ -81,7 +81,6 @@ tls_set_verror(struct tls *ctx, int errnum, const char *fmt, va_list ap)
ctx->errmsg = NULL;
goto err;
}
-
rv = 0;
err:
@@ -347,7 +346,7 @@ tls_read(struct tls *ctx, void *buf, size_t buflen, size_t *outlen)
return (0);
}
- return tls_ssl_error(ctx, ctx->ssl_conn, ssl_ret, "read");
+ return tls_ssl_error(ctx, ctx->ssl_conn, ssl_ret, "read");
}
int
@@ -368,7 +367,7 @@ tls_write(struct tls *ctx, const void *buf, size_t buflen, size_t *outlen)
return (0);
}
- return tls_ssl_error(ctx, ctx->ssl_conn, ssl_ret, "write");
+ return tls_ssl_error(ctx, ctx->ssl_conn, ssl_ret, "write");
}
int