Skip to content

Commit

Permalink
pkcs7: deleted a line by mistake #294
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored Jan 14, 2025
1 parent bef7f54 commit 8331b37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkcs7/sign_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ func testSignDigest(t *testing.T, isSM bool, content []byte, sigalgs []x509.Sign
if len(p7.Content) > 0 {
t.Errorf("Content should be empty")
}
p7.Content = digest
if err := p7.VerifyAsDigestWithChain(truststore); err != nil {
t.Errorf("test %s/%s/%s: cannot verify signed data: %s", sigalgroot, sigalginter, sigalgsigner, err)
}
Expand Down

0 comments on commit 8331b37

Please sign in to comment.