From 4e6e69f02f570ba1abace6bea3d961d280b7b65b Mon Sep 17 00:00:00 2001 From: Chelsea Winfree Date: Thu, 2 Jun 2016 15:30:57 -0700 Subject: Fixing typo in asymmetric utils (#2947) * Fixing typo in asymmetric utils * Fixed the other similar typo on utils --- src/cryptography/hazmat/primitives/asymmetric/utils.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/cryptography/hazmat/primitives/asymmetric/utils.py b/src/cryptography/hazmat/primitives/asymmetric/utils.py index bad9ab73..5b27654f 100644 --- a/src/cryptography/hazmat/primitives/asymmetric/utils.py +++ b/src/cryptography/hazmat/primitives/asymmetric/utils.py @@ -25,8 +25,7 @@ class _DSSSigValue(univ.Sequence): def decode_rfc6979_signature(signature): warnings.warn( "decode_rfc6979_signature is deprecated and will " - "be removed in a future version, use decode_dss_signature instead " - "instead.", + "be removed in a future version, use decode_dss_signature instead.", utils.DeprecatedIn10, stacklevel=2 ) @@ -52,8 +51,7 @@ def decode_dss_signature(signature): def encode_rfc6979_signature(r, s): warnings.warn( "encode_rfc6979_signature is deprecated and will " - "be removed in a future version, use encode_dss_signature instead " - "instead.", + "be removed in a future version, use encode_dss_signature instead.", utils.DeprecatedIn10, stacklevel=2 ) -- cgit v1.2.3