Skip to content

Commit 6e0ae2a

Browse files
authored
Document sig verify's intentional limitation
1 parent d738998 commit 6e0ae2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ecdsa/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ impl Signature {
190190
}
191191

192192
/// Verifies an ECDSA signature for `msg` using `pk` and the global [`SECP256K1`] context.
193+
/// The signature must be normalized or verification will fail (see [`normalize_s`]).
193194
#[inline]
194195
#[cfg(feature = "global-context")]
195196
#[cfg_attr(docsrs, doc(cfg(feature = "global-context")))]

0 commit comments

Comments
 (0)