aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChelsea Winfree <chelsea.winfree@gmail.com>2016-06-02 15:30:57 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2016-06-02 15:30:57 -0700
commit4e6e69f02f570ba1abace6bea3d961d280b7b65b (patch)
tree8a1dc5358ae20b1bb5c0491e61784dcb93eb6849 /src
parent3079299eab48366de44b103125335ece4016dd8e (diff)
downloadcryptography-4e6e69f02f570ba1abace6bea3d961d280b7b65b.tar.gz
cryptography-4e6e69f02f570ba1abace6bea3d961d280b7b65b.tar.bz2
cryptography-4e6e69f02f570ba1abace6bea3d961d280b7b65b.zip
Fixing typo in asymmetric utils (#2947)
* Fixing typo in asymmetric utils * Fixed the other similar typo on utils
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/hazmat/primitives/asymmetric/utils.py6
1 files changed, 2 insertions, 4 deletions
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
)