summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-01-04 19:19:13 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-01-04 19:19:13 +0000
commit52520dc96e0fa3bfc3c45369d1e2c29f2efc940b (patch)
treece25ecd26919d47c4c1ce94c388fa6a4b883bd9c
parent2bdc082b5c272a76c1892aeab1d787b3dd4cb9c3 (diff)
whitespace
-rw-r--r--lib/libssl/bs_cbb.c4
-rw-r--r--lib/libssl/ssl_versions.c6
-rw-r--r--lib/libssl/tls13_legacy.c10
3 files changed, 10 insertions, 10 deletions
diff --git a/lib/libssl/bs_cbb.c b/lib/libssl/bs_cbb.c
index e734dd68fcb..62e98cb4762 100644
--- a/lib/libssl/bs_cbb.c
+++ b/lib/libssl/bs_cbb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bs_cbb.c,v 1.23 2020/09/16 05:52:04 jsing Exp $ */
+/* $OpenBSD: bs_cbb.c,v 1.24 2021/01/04 19:19:12 tb Exp $ */
/*
* Copyright (c) 2014, Google Inc.
*
@@ -277,7 +277,7 @@ CBB_discard_child(CBB *cbb)
return;
cbb->base->len = cbb->offset;
-
+
cbb->child->base = NULL;
cbb->child = NULL;
cbb->pending_len_len = 0;
diff --git a/lib/libssl/ssl_versions.c b/lib/libssl/ssl_versions.c
index 99f538b9379..c5de9d0cde7 100644
--- a/lib/libssl/ssl_versions.c
+++ b/lib/libssl/ssl_versions.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_versions.c,v 1.7 2020/10/14 16:57:33 jsing Exp $ */
+/* $OpenBSD: ssl_versions.c,v 1.8 2021/01/04 19:19:12 tb Exp $ */
/*
* Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org>
*
@@ -53,7 +53,7 @@ ssl_version_set_min(const SSL_METHOD *meth, uint16_t ver, uint16_t max_ver,
return 0;
*out_ver = min_version;
-
+
return 1;
}
@@ -76,7 +76,7 @@ ssl_version_set_max(const SSL_METHOD *meth, uint16_t ver, uint16_t min_ver,
return 0;
*out_ver = max_version;
-
+
return 1;
}
diff --git a/lib/libssl/tls13_legacy.c b/lib/libssl/tls13_legacy.c
index 81a317d4a5d..8aa806aa454 100644
--- a/lib/libssl/tls13_legacy.c
+++ b/lib/libssl/tls13_legacy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls13_legacy.c,v 1.19 2020/11/03 17:41:39 jsing Exp $ */
+/* $OpenBSD: tls13_legacy.c,v 1.20 2021/01/04 19:19:12 tb Exp $ */
/*
* Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org>
*
@@ -216,7 +216,7 @@ tls13_legacy_read_bytes(SSL *ssl, int type, unsigned char *buf, int len, int pee
return -1;
}
if (len < 0) {
- SSLerror(ssl, SSL_R_BAD_LENGTH);
+ SSLerror(ssl, SSL_R_BAD_LENGTH);
return -1;
}
@@ -247,7 +247,7 @@ tls13_legacy_write_bytes(SSL *ssl, int type, const void *vbuf, int len)
return -1;
}
if (len < 0) {
- SSLerror(ssl, SSL_R_BAD_LENGTH);
+ SSLerror(ssl, SSL_R_BAD_LENGTH);
return -1;
}
@@ -261,12 +261,12 @@ tls13_legacy_write_bytes(SSL *ssl, int type, const void *vbuf, int len)
}
/*
- * In the non-SSL_MODE_ENABLE_PARTIAL_WRITE case we have to loop until
+ * In the non-SSL_MODE_ENABLE_PARTIAL_WRITE case we have to loop until
* we have written out all of the requested data.
*/
sent = S3I(ssl)->wnum;
if (len < sent) {
- SSLerror(ssl, SSL_R_BAD_LENGTH);
+ SSLerror(ssl, SSL_R_BAD_LENGTH);
return -1;
}
n = len - sent;