Skip to content

Commit 28dc8d9

Browse files
authored
internal/sm2ec: align error message #526
1 parent cc6241d commit 28dc8d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/sm2ec/sm2p256.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func (p *SM2P256Point) SetBytes(b []byte) (*SM2P256Point, error) {
104104
p.z.One()
105105
return p, nil
106106
default:
107-
return nil, errors.New("invalid SM2P256 point encoding")
107+
return nil, errors.New("invalid P256 point encoding")
108108
}
109109
}
110110

0 commit comments

Comments
 (0)