Skip to content

Commit

Permalink
Fix a typo in deprecation warnings (#1280)
Browse files Browse the repository at this point in the history
The correct spelling is `equivalent`, not `equivilant`.
  • Loading branch information
jlaine authored Jan 10, 2024
1 parent abf91d7 commit 8219562
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OpenSSL/crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -3162,7 +3162,7 @@ def sign(pkey: PKey, data: Union[str, bytes], digest: str) -> bytes:
utils.deprecated(
sign,
__name__,
"sign() is deprecated. Use the equivilant APIs in cryptography.",
"sign() is deprecated. Use the equivalent APIs in cryptography.",
DeprecationWarning,
name="sign",
)
Expand Down Expand Up @@ -3209,7 +3209,7 @@ def verify(
utils.deprecated(
verify,
__name__,
"verify() is deprecated. Use the equivilant APIs in cryptography.",
"verify() is deprecated. Use the equivalent APIs in cryptography.",
DeprecationWarning,
name="verify",
)
Expand Down

0 comments on commit 8219562

Please sign in to comment.