summaryrefslogtreecommitdiffstats
path: root/lib/libtls/tls_init.3
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2015-09-14 15:14:55 +0000
committerschwarze <schwarze@openbsd.org>2015-09-14 15:14:55 +0000
commit5dfee2283fd7fd95d715914acc2abb87f60de8b3 (patch)
tree18e281d2252f8c73356a6f16721fead139edf805 /lib/libtls/tls_init.3
parentthese files are a combination of old, lies, and old lies. zap. (diff)
downloadwireguard-openbsd-5dfee2283fd7fd95d715914acc2abb87f60de8b3.tar.xz
wireguard-openbsd-5dfee2283fd7fd95d715914acc2abb87f60de8b3.zip
Remove useless quoting from .Fo and .Fn function names, to prevent
development of a cargo cult in case people look at existing files for examples. This achieves a consistent .Fo and .Fn quoting style across the whole tree.
Diffstat (limited to 'lib/libtls/tls_init.3')
-rw-r--r--lib/libtls/tls_init.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libtls/tls_init.3 b/lib/libtls/tls_init.3
index fbd6cb5e127..feef85dcb66 100644
--- a/lib/libtls/tls_init.3
+++ b/lib/libtls/tls_init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tls_init.3,v 1.46 2015/09/14 14:29:30 jmc Exp $
+.\" $OpenBSD: tls_init.3,v 1.47 2015/09/14 15:14:55 schwarze Exp $
.\"
.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
.\"
@@ -88,7 +88,7 @@
.Ft "int"
.Fn tls_config_set_cert_file "struct tls_config *config" "const char *cert_file"
.Ft "int"
-.Fn tls_config_set_cert_mem "struct tls_config *config" "const uint8_t *cert" "size_t len"
+.Fn tls_config_set_cert_mem "struct tls_config *config" "const uint8_t *cert" "size_t len"
.Ft "int"
.Fn tls_config_set_ciphers "struct tls_config *config" "const char *ciphers"
.Ft "int"
@@ -595,7 +595,7 @@ while (len > 0) {
ret = tls_write(ctx, buf, len);
if (ret == TLS_WANT_POLLIN || ret == TLS_WANT_POLLOUT)
continue;
- if (ret < 0)
+ if (ret < 0)
err(1, "tls_write: %s", tls_error(ctx));
buf += ret;
len -= ret;
@@ -630,7 +630,7 @@ while (len > 0) {
buf += ret;
len -= ret;
}
- }
+ }
}
\&...
.Ed