Skip to content

Commit 50e1bb2

Browse files
committed
No alg parameter for JWS, and verify Date header
1 parent 09ffb81 commit 50e1bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

signatures.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ func applyPolicyCreated(psi *psiSignature, message parsedMessage, config VerifyC
503503
dateHdr, ok := message.headers["date"]
504504
if ok {
505505
if len(dateHdr) > 1 {
506-
return fmt.Errorf("multiple Date headers?")
506+
return fmt.Errorf("multiple Date headers")
507507
}
508508
date, err := http.ParseTime(dateHdr[0])
509509
if err != nil {

0 commit comments

Comments
 (0)