aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2019-01-31 09:55:30 -0800
committerRichard Levitte <levitte@openssl.org>2019-02-05 16:25:11 +0100
commitdf4439186fb70ce72668d472943dbcd057df8f30 (patch)
treea455db2842bae7f6b47c17fa17fc3b20977ab20f /test
parentd6f4b0a8bfbe901c72294d8923eb5b6f54ca7732 (diff)
downloadopenssl-df4439186fb70ce72668d472943dbcd057df8f30.tar.gz
Remove unnecessary trailing whitespace
Trim trailing whitespace. It doesn't match OpenSSL coding standards, AFAICT, and it can cause problems with git tooling. Trailing whitespace remains in test data and external source. Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8092)
Diffstat (limited to 'test')
-rw-r--r--test/README.external2
-rw-r--r--test/build.info2
-rw-r--r--test/rdrand_sanitytest.c4
-rw-r--r--test/servername_test.c2
-rw-r--r--test/testutil/main.c2
-rw-r--r--test/tls13secretstest.c2
6 files changed, 7 insertions, 7 deletions
diff --git a/test/README.external b/test/README.external
index f836b1b499..2f5423cbc8 100644
--- a/test/README.external
+++ b/test/README.external
@@ -145,7 +145,7 @@ To update the commit for any of the above test suites:
- Enter subdirectory and pull from the repository (use a specific branch/tag if required):
- $ cd <submodule-dir>
+ $ cd <submodule-dir>
$ git pull origin master
- Go to root directory, there should be a new git status:
diff --git a/test/build.info b/test/build.info
index c2be761a46..0ac2fa76a9 100644
--- a/test/build.info
+++ b/test/build.info
@@ -343,7 +343,7 @@ IF[{- !$disabled{tests} -}]
SOURCE[drbg_cavs_test]=drbg_cavs_test.c drbg_cavs_data_ctr.c \
drbg_cavs_data_hash.c drbg_cavs_data_hmac.c
-
+
INCLUDE[drbg_cavs_test]=../include . ..
DEPEND[drbg_cavs_test]=../libcrypto libtestutil.a
diff --git a/test/rdrand_sanitytest.c b/test/rdrand_sanitytest.c
index 0f2b70ee25..851e14ccf7 100644
--- a/test/rdrand_sanitytest.c
+++ b/test/rdrand_sanitytest.c
@@ -1,6 +1,6 @@
/*
* Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.
- *
+ *
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
@@ -24,7 +24,7 @@ void OPENSSL_cpuid_setup(void);
extern unsigned int OPENSSL_ia32cap_P[4];
-static int sanity_check_bytes(size_t (*rng)(unsigned char *, size_t),
+static int sanity_check_bytes(size_t (*rng)(unsigned char *, size_t),
int rounds, int min_failures, int max_retries, int max_zero_words)
{
int testresult = 0;
diff --git a/test/servername_test.c b/test/servername_test.c
index 0614d4bf8c..f84c18705a 100644
--- a/test/servername_test.c
+++ b/test/servername_test.c
@@ -203,7 +203,7 @@ static int server_setup_sni(void)
/* SNI should have been cleared during handshake */
goto end;
}
-
+
testresult = 1;
end:
SSL_free(serverssl);
diff --git a/test/testutil/main.c b/test/testutil/main.c
index 9dc651b61b..8b30ac60ec 100644
--- a/test/testutil/main.c
+++ b/test/testutil/main.c
@@ -54,7 +54,7 @@ int main(int argc, char *argv[])
ret = pulldown_test_framework(ret);
test_close_streams();
- return ret;
+ return ret;
}
const char *test_get_program_name(void)
diff --git a/test/tls13secretstest.c b/test/tls13secretstest.c
index e079b8d3a0..490e7c9dc9 100644
--- a/test/tls13secretstest.c
+++ b/test/tls13secretstest.c
@@ -18,7 +18,7 @@
/*
* Based on the test vectors availble in:
- * https://tools.ietf.org/html/draft-ietf-tls-tls13-vectors-06
+ * https://tools.ietf.org/html/draft-ietf-tls-tls13-vectors-06
*/
static unsigned char hs_start_hash[] = {