summaryrefslogtreecommitdiff
path: root/src/cryptography/utils.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2019-01-23 22:00:14 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2019-01-23 21:00:14 -0600
commit5c07d7a87c54a8532b49ba41febe8d526e5734d8 (patch)
treef7b8e6ac665e960d141bc6e836eac47a6bcb1018 /src/cryptography/utils.py
parent908121176f037c618b1f774ab969ad7f67ea3020 (diff)
downloadcryptography-5c07d7a87c54a8532b49ba41febe8d526e5734d8.tar.gz
Fixes #4734 -- Deal with deprecated things (#4736)
* Fixes #4734 -- Deal with deprecated things - Make year based aliases of PersistentlyDeprecated so we can easily assess age - Removed encode/decode rfc6979 signature - Removed Certificate.serial * Unused import
Diffstat (limited to 'src/cryptography/utils.py')
-rw-r--r--src/cryptography/utils.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cryptography/utils.py b/src/cryptography/utils.py
index cbbae3a79..567600fb6 100644
--- a/src/cryptography/utils.py
+++ b/src/cryptography/utils.py
@@ -20,9 +20,8 @@ class CryptographyDeprecationWarning(UserWarning):
# Several APIs were deprecated with no specific end-of-life date because of the
# ubiquity of their use. They should not be removed until we agree on when that
# cycle ends.
-PersistentlyDeprecated = CryptographyDeprecationWarning
-DeprecatedIn21 = CryptographyDeprecationWarning
-DeprecatedIn23 = CryptographyDeprecationWarning
+PersistentlyDeprecated2017 = CryptographyDeprecationWarning
+PersistentlyDeprecated2018 = CryptographyDeprecationWarning
DeprecatedIn25 = CryptographyDeprecationWarning