aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/x509
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/x509
parent908121176f037c618b1f774ab969ad7f67ea3020 (diff)
downloadcryptography-5c07d7a87c54a8532b49ba41febe8d526e5734d8.tar.gz
cryptography-5c07d7a87c54a8532b49ba41febe8d526e5734d8.tar.bz2
cryptography-5c07d7a87c54a8532b49ba41febe8d526e5734d8.zip
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/x509')
-rw-r--r--src/cryptography/x509/general_name.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cryptography/x509/general_name.py b/src/cryptography/x509/general_name.py
index 1b0f8c8f..fef29c8c 100644
--- a/src/cryptography/x509/general_name.py
+++ b/src/cryptography/x509/general_name.py
@@ -72,7 +72,7 @@ class RFC822Name(object):
"This means unicode characters should be encoded via "
"idna. Support for passing unicode strings (aka U-label) "
"will be removed in a future version.",
- utils.DeprecatedIn21,
+ utils.PersistentlyDeprecated2017,
stacklevel=2,
)
else:
@@ -139,7 +139,7 @@ class DNSName(object):
"This means unicode characters should be encoded via "
"idna. Support for passing unicode strings (aka U-label) "
"will be removed in a future version.",
- utils.DeprecatedIn21,
+ utils.PersistentlyDeprecated2017,
stacklevel=2,
)
else:
@@ -184,7 +184,7 @@ class UniformResourceIdentifier(object):
"This means unicode characters should be encoded via "
"idna. Support for passing unicode strings (aka U-label) "
" will be removed in a future version.",
- utils.DeprecatedIn21,
+ utils.PersistentlyDeprecated2017,
stacklevel=2,
)
else: