Skip to content

Commit

Permalink
chore: debug ci action
Browse files Browse the repository at this point in the history
  • Loading branch information
2020xibao committed Feb 17, 2025
1 parent a18cb62 commit f28c86d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crypto/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ func UnmarshalPubkey(pub []byte) (*ecdsa.PublicKey, error) {
if x == nil {
return nil, errInvalidPubkey
}
if !S256().IsOnCurve(x, y) {
return nil, errInvalidPubkey
}
//if !S256().IsOnCurve(x, y) {
// return nil, errInvalidPubkey
//}
return &ecdsa.PublicKey{Curve: S256(), X: x, Y: y}, nil
}

Expand Down

0 comments on commit f28c86d

Please sign in to comment.