Skip to content

Commit

Permalink
Fix wording, again
Browse files Browse the repository at this point in the history
  • Loading branch information
pgporada committed Aug 21, 2023
1 parent 75e9498 commit e284ab9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wfe2/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ func (wfe *WebFrontEndImpl) validPOSTRequest(request *http.Request) *probs.Probl
func nonceWellFormed(nonceHeader string, prefixLen int) *probs.ProblemDetails {
errBadNonce := probs.BadNonce(fmt.Sprintf("JWS has an invalid anti-replay nonce: %q", nonceHeader))
if len(nonceHeader) <= prefixLen {
// Nonce header was an unexpected length because their is either
// 1) no nonce or
// Nonce header was an unexpected length because there is either:
// 1) no nonce, or
// 2) no nonce material after the prefix.
return errBadNonce
}
Expand Down

0 comments on commit e284ab9

Please sign in to comment.