summaryrefslogtreecommitdiff
path: root/OpenSSL/crypto.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-09-05 16:57:49 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-09-05 16:57:49 -0400
commitc7a9eb5468e53db4a2cf5736380c9045553242fe (patch)
treea38c530a8fa4abeda85169bd2f7c3cc2a12f38da /OpenSSL/crypto.py
parent70b959e2d13a6330b5163d97733166ffbc213c80 (diff)
downloadpyopenssl-c7a9eb5468e53db4a2cf5736380c9045553242fe.tar.gz
fix
Diffstat (limited to 'OpenSSL/crypto.py')
-rw-r--r--OpenSSL/crypto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSSL/crypto.py b/OpenSSL/crypto.py
index 60b2c9b..74ebc24 100644
--- a/OpenSSL/crypto.py
+++ b/OpenSSL/crypto.py
@@ -1615,7 +1615,7 @@ def dump_certificate(type, cert):
"type argument must be FILETYPE_PEM, FILETYPE_ASN1, or "
"FILETYPE_TEXT")
- assert result_code == 0
+ assert result_code == 1
return _bio_to_string(bio)