Skip to content

Commit

Permalink
use proper function name (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
lestrrat authored May 9, 2023
1 parent 9114235 commit db80760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwk/jwk.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func bigIntToBytes(n *big.Int) ([]byte, error) {
// - []byte creates a symmetric key
func FromRaw(key interface{}) (Key, error) {
if key == nil {
return nil, fmt.Errorf(`jwk.New requires a non-nil key`)
return nil, fmt.Errorf(`jwk.FromRaw requires a non-nil key`)
}

var ptr interface{}
Expand Down

0 comments on commit db80760

Please sign in to comment.