Skip to content

Commit 8219562

Browse files
authored
Fix a typo in deprecation warnings (#1280)
The correct spelling is `equivalent`, not `equivilant`.
1 parent abf91d7 commit 8219562

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/OpenSSL/crypto.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3162,7 +3162,7 @@ def sign(pkey: PKey, data: Union[str, bytes], digest: str) -> bytes:
31623162
utils.deprecated(
31633163
sign,
31643164
__name__,
3165-
"sign() is deprecated. Use the equivilant APIs in cryptography.",
3165+
"sign() is deprecated. Use the equivalent APIs in cryptography.",
31663166
DeprecationWarning,
31673167
name="sign",
31683168
)
@@ -3209,7 +3209,7 @@ def verify(
32093209
utils.deprecated(
32103210
verify,
32113211
__name__,
3212-
"verify() is deprecated. Use the equivilant APIs in cryptography.",
3212+
"verify() is deprecated. Use the equivalent APIs in cryptography.",
32133213
DeprecationWarning,
32143214
name="verify",
32153215
)

0 commit comments

Comments
 (0)