aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/hazmat/backends/openssl/dsa.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/cryptography/hazmat/backends/openssl/dsa.py')
-rw-r--r--src/cryptography/hazmat/backends/openssl/dsa.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cryptography/hazmat/backends/openssl/dsa.py b/src/cryptography/hazmat/backends/openssl/dsa.py
index 1608df04..20b5f408 100644
--- a/src/cryptography/hazmat/backends/openssl/dsa.py
+++ b/src/cryptography/hazmat/backends/openssl/dsa.py
@@ -17,9 +17,8 @@ def _truncate_digest_for_dsa(dsa_cdata, digest, backend):
"""
This function truncates digests that are longer than a given DS
key's length so they can be signed. OpenSSL does this for us in
- 1.0.0c+ and it isn't needed in 0.9.8, but that leaves us with three
- releases (1.0.0, 1.0.0a, and 1.0.0b) where this is a problem. This
- truncation is not required in 0.9.8 because DSA is limited to SHA-1.
+ 1.0.0c+, leaving us with three releases (1.0.0, 1.0.0a, and 1.0.0b) where
+ this is a problem.
"""
q = backend._ffi.new("BIGNUM **")