summaryrefslogtreecommitdiffstats
path: root/test/tls-provider.c
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-09-13 19:53:39 +0200
committerNeil Horman <nhorman@openssl.org>2024-07-22 12:55:35 +0200
commit1cf2f8231ea8c3c1dd73a6f5bdf1404ecd503c4d (patch)
tree9732859b3be1fe9f982ab120585db21fdfd9fdd2 /test/tls-provider.c
parentUpdate X509V3_get_d2i.pod returned pointer needs to be freed (diff)
downloadopenssl-1cf2f8231ea8c3c1dd73a6f5bdf1404ecd503c4d.tar.xz
openssl-1cf2f8231ea8c3c1dd73a6f5bdf1404ecd503c4d.zip
Remove trailing whitespace
Found by running the checkpatch.pl Linux script to enforce coding style. Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22097)
Diffstat (limited to 'test/tls-provider.c')
-rw-r--r--test/tls-provider.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/tls-provider.c b/test/tls-provider.c
index 967a2495e1..586d87e397 100644
--- a/test/tls-provider.c
+++ b/test/tls-provider.c
@@ -62,7 +62,7 @@ int tls_provider_init(const OSSL_CORE_HANDLE *handle,
/*
* Top secret. This algorithm only works if no one knows what this number is.
* Please don't tell anyone what it is.
- *
+ *
* This algorithm is for testing only - don't really use it!
*/
static const unsigned char private_constant[XOR_KEY_SIZE] = {
@@ -1821,7 +1821,7 @@ static int key2any_check_selection(int selection, int selection_mask)
* If the caller asked for the currently checked bit(s), return
* whether the decoder description says it's supported.
*/
- if (check1)
+ if (check1)
return check2;
}
@@ -2614,7 +2614,7 @@ static int xor_get_aid(unsigned char** oidbuf, const char *tls_name) {
X509_ALGOR_set0(algor, OBJ_txt2obj(tls_name, 0), V_ASN1_UNDEF, NULL);
- aidlen = i2d_X509_ALGOR(algor, oidbuf);
+ aidlen = i2d_X509_ALGOR(algor, oidbuf);
X509_ALGOR_free(algor);
return(aidlen);
}
@@ -2892,7 +2892,7 @@ int xor_sig_digest_sign_final(void *vpxor_sigctx,
}
return xor_sig_sign(vpxor_sigctx, sig, siglen, sigsize, digest, (size_t)dlen);
-
+
}
int xor_sig_digest_verify_final(void *vpxor_sigctx, const unsigned char *sig,