Skip to content

Commit

Permalink
Fix var name
Browse files Browse the repository at this point in the history
  • Loading branch information
Tit Petric authored and jeffy-mathew committed Jul 24, 2023
1 parent a630f56 commit 67baf32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/mw_http_signature_validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func testPrepareRSAAuthSessionPass(tb testing.TB, eventWG *sync.WaitGroup, priva
hashed := h.Sum(nil)

signature, err := rsa.SignPKCS1v15(cryptoRand.Reader, privateKey, crypto.SHA256, hashed)
assert.NoError(t, err)
assert.NoError(tb, err)

sigString := base64.StdEncoding.EncodeToString(signature)

Expand Down

0 comments on commit 67baf32

Please sign in to comment.