Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lestrrat committed Apr 29, 2023
1 parent a746e87 commit 4fbc204
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions jws/signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ func RegisterSigner(alg jwa.SignatureAlgorithm, f SignerFactory) {
//
// Note that when you call this function, the algorithm itself is
// not automatically unregistered from the known algorithms database.
// This is because the algorithm may/ still be required for verification or
// This is because the algorithm may still be required for verification or
// some other operation (however unlikely, it is still possible).
// Therefore, in order to/ completely remove the algorithm, you must
// Therefore, in order to completely remove the algorithm, you must
// call `jwa.UnregisterSignatureAlgorithm` yourself.

func UnregisterSigner(alg jwa.SignatureAlgorithm) {
Expand Down
4 changes: 2 additions & 2 deletions jws/verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ func RegisterVerifier(alg jwa.SignatureAlgorithm, f VerifierFactory) {
//
// Note that when you call this function, the algorithm itself is
// not automatically unregistered from the known algorithms database.
// This is because the algorithm may/ still be required for signing or
// This is because the algorithm may still be required for signing or
// some other operation (however unlikely, it is still possible).
// Therefore, in order to/ completely remove the algorithm, you must
// Therefore, in order to completely remove the algorithm, you must
// call `jwa.UnregisterSignatureAlgorithm` yourself.
func UnregisterVerifier(alg jwa.SignatureAlgorithm) {
delete(verifierDB, alg)
Expand Down

0 comments on commit 4fbc204

Please sign in to comment.