From 8219562358931d8c8b054b5714cb2eb91d113da2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jeremy=20Lain=C3=A9?= Date: Wed, 10 Jan 2024 18:19:36 +0100 Subject: [PATCH] Fix a typo in deprecation warnings (#1280) The correct spelling is `equivalent`, not `equivilant`. --- src/OpenSSL/crypto.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenSSL/crypto.py b/src/OpenSSL/crypto.py index fb466aed..1707488c 100644 --- a/src/OpenSSL/crypto.py +++ b/src/OpenSSL/crypto.py @@ -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", ) @@ -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", )