summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-04-30 09:11:42 +1000
committerPauli <pauli@openssl.org>2021-04-30 09:15:50 +1000
commitc7d848e220ecb432faa05d2198ae689298d71728 (patch)
treed97b221390e187924236ec7a0f940716abc0ee44 /test
parentb536880c45722777df5ebe62897a6efcef757945 (diff)
remove end of line whitespace
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14434)
Diffstat (limited to 'test')
-rw-r--r--test/helpers/pkcs12.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/helpers/pkcs12.c b/test/helpers/pkcs12.c
index 4d3abe06c7..bdc8585535 100644
--- a/test/helpers/pkcs12.c
+++ b/test/helpers/pkcs12.c
@@ -651,13 +651,13 @@ void check_secretbag(PKCS12_BUILDER *pb, int secret_nid, const char *secret, con
if (!pb->success)
return;
-
+
bag = sk_PKCS12_SAFEBAG_value(pb->bags, pb->bag_idx++);
if (!TEST_ptr(bag)) {
pb->success = 0;
return;
- }
-
+ }
+
if (!check_attrs(PKCS12_SAFEBAG_get0_attrs(bag), attrs)
|| !TEST_int_eq(PKCS12_SAFEBAG_get_nid(bag), NID_secretBag)
|| !TEST_int_eq(PKCS12_SAFEBAG_get_bag_nid(bag), secret_nid)
@@ -693,13 +693,13 @@ void start_check_pkcs12_with_mac(PKCS12_BUILDER *pb, const PKCS12_ENC *mac)
if (!pb->success)
return;
- p12 = from_bio_p12(pb->p12bio, mac);
+ p12 = from_bio_p12(pb->p12bio, mac);
if (!TEST_ptr(p12)) {
pb->success = 0;
return;
}
- pb->safes = PKCS12_unpack_authsafes(p12);
- if (!TEST_ptr(pb->safes))
+ pb->safes = PKCS12_unpack_authsafes(p12);
+ if (!TEST_ptr(pb->safes))
pb->success = 0;
pb->safe_idx = 0;
@@ -724,8 +724,8 @@ void start_check_pkcs12_file(PKCS12_BUILDER *pb)
pb->safe_idx = 0;
PKCS12_free(p12);
-}
-
+}
+
void start_check_pkcs12_file_with_mac(PKCS12_BUILDER *pb, const PKCS12_ENC *mac)
{
PKCS12 *p12;