summaryrefslogtreecommitdiff
path: root/tests/test_crypto.py
diff options
context:
space:
mode:
authorAnthony Alba <ascanio.alba7@gmail.com>2015-12-04 11:04:56 +0800
committerAnthony Alba <ascanio.alba7@gmail.com>2015-12-04 11:04:56 +0800
commit2ce737fc86213b2784ea4fde507c3a40701e1f75 (patch)
treec8d1e016106444e639f6bdac99c2491b3e855450 /tests/test_crypto.py
parentd3b30f62799cc002f1baaeac55be26b6a5070dab (diff)
downloadpyopenssl-git-2ce737fc86213b2784ea4fde507c3a40701e1f75.tar.gz
Enable tests to pass when MD5 verification disabled in OpenSSL.
Diffstat (limited to 'tests/test_crypto.py')
-rw-r--r--tests/test_crypto.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_crypto.py b/tests/test_crypto.py
index d9b299c..e0feda2 100644
--- a/tests/test_crypto.py
+++ b/tests/test_crypto.py
@@ -54,7 +54,9 @@ def normalize_privatekey_pem(pem):
GOOD_CIPHER = "blowfish"
BAD_CIPHER = "zippers"
-GOOD_DIGEST = "MD5"
+#GOOD_DIGEST = "MD5"
+# MD5 verification disabled in some distros OpenSSL
+GOOD_DIGEST = "SHA1"
BAD_DIGEST = "monkeys"
root_cert_pem = b("""-----BEGIN CERTIFICATE-----