diff options
Diffstat (limited to 'src/cryptography/hazmat/primitives/asymmetric/utils.py')
-rw-r--r-- | src/cryptography/hazmat/primitives/asymmetric/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptography/hazmat/primitives/asymmetric/utils.py b/src/cryptography/hazmat/primitives/asymmetric/utils.py index 4c2337bf..ef1e7eb9 100644 --- a/src/cryptography/hazmat/primitives/asymmetric/utils.py +++ b/src/cryptography/hazmat/primitives/asymmetric/utils.py @@ -18,7 +18,7 @@ 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.", - utils.DeprecatedIn10, + utils.PersistentlyDeprecated, stacklevel=2 ) return decode_dss_signature(signature) @@ -33,7 +33,7 @@ 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.", - utils.DeprecatedIn10, + utils.PersistentlyDeprecated, stacklevel=2 ) return encode_dss_signature(r, s) |