Skip to content

Commit 3a50b5e

Browse files
jluebbet8m
authored andcommitted
80-test_cms.t: Fix indentation by replacing tabs with spaces
Reviewed-by: Paul Yang <[email protected]> Reviewed-by: Tomas Mraz <[email protected]> (Merged from openssl#27590)
1 parent 8fd0d23 commit 3a50b5e

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

test/recipes/80-test_cms.t

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,46 +1474,46 @@ subtest "sign and verify with multiple keys" => sub {
14741474
my $out2 = "out2.txt";
14751475

14761476
ok(run(app(['openssl', 'cms',
1477-
@defaultprov,
1478-
'-sign', '-in', $smcont,
1477+
@defaultprov,
1478+
'-sign', '-in', $smcont,
14791479
'-nodetach',
14801480
'-signer', $smrsa1,
1481-
'-out', $sig1, '-outform', 'DER',
1482-
])),
1481+
'-out', $sig1, '-outform', 'DER',
1482+
])),
14831483
"sign with first key");
14841484
ok(run(app(['openssl', 'cms',
1485-
@defaultprov,
1486-
'-verify', '-in', $sig1, '-inform', 'DER',
1485+
@defaultprov,
1486+
'-verify', '-in', $sig1, '-inform', 'DER',
14871487
'-CAfile', $smrsa1, '-partial_chain',
1488-
'-out', $out1,
1489-
])),
1488+
'-out', $out1,
1489+
])),
14901490
"verify single signature");
14911491
is(compare($smcont, $out1), 0, "compare original message with verified message");
14921492

14931493
ok(run(app(['openssl', 'cms',
1494-
@defaultprov,
1495-
'-resign', '-in', $sig1, '-inform', 'DER',
1494+
@defaultprov,
1495+
'-resign', '-in', $sig1, '-inform', 'DER',
14961496
'-signer', $smrsa2,
1497-
'-out', $sig2, '-outform', 'DER',
1498-
])),
1497+
'-out', $sig2, '-outform', 'DER',
1498+
])),
14991499
"resign with second key");
15001500

15011501
# because the smrsa2 signature cannot be verified, overall verification fails
15021502
ok(!run(app(['openssl', 'cms',
1503-
@defaultprov,
1504-
'-verify', '-in', $sig2, '-inform', 'DER',
1505-
'-CAfile', $smrsa1, '-partial_chain',
1506-
'-out', $out2,
1507-
])),
1503+
@defaultprov,
1504+
'-verify', '-in', $sig2, '-inform', 'DER',
1505+
'-CAfile', $smrsa1, '-partial_chain',
1506+
'-out', $out2,
1507+
])),
15081508
"try to verify two signatures with only rsa1");
15091509

15101510
# because both signatures can be verified, overall verification succeeds
15111511
ok(run(app(['openssl', 'cms',
1512-
@defaultprov,
1513-
'-verify', '-in', $sig2, '-inform', 'DER',
1512+
@defaultprov,
1513+
'-verify', '-in', $sig2, '-inform', 'DER',
15141514
'-CAfile', $smroot,
1515-
'-out', $out2,
1516-
])),
1515+
'-out', $out2,
1516+
])),
15171517
"verify both signature signatures with root");
15181518
is(compare($smcont, $out2), 0, "compare original message with verified message");
15191519
};

0 commit comments

Comments
 (0)