Skip to content

Commit

Permalink
fix missed var
Browse files Browse the repository at this point in the history
  • Loading branch information
Gobd committed Jan 12, 2025
1 parent 9c05fa5 commit 9422bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/utils.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export async function compareSigning(payload, algorithm, privateKey, publicKey)
log(`@node-rs/jsonwebtoken: ${JSON.stringify(nodeRsGenerated)}`)
log('Generated tokens verification:')
if (!isEdDSA) {
log(` jsonwebtoken: ${JSON.stringify(jsonwebtokenVerify(jsonwebtokenGenerated, asKey(publicKey)))}`)
log(` jsonwebtoken: ${JSON.stringify(jsonwebtokenVerify(jsonwebtokenGenerated, jsonwebtokenKey))}`)
}
log(` jose: ${JSON.stringify(joseVerify(joseGenerated, asKey(publicKey)))}`)
log(` fastjwt: ${JSON.stringify(fastjwtVerify(fastjwtGenerated))}`)
Expand Down

0 comments on commit 9422bec

Please sign in to comment.