commit | d58db90d1f27dcde91d39e32721e89f3524797a6 | [log] [tgz] |
---|---|---|
author | Paul Kehrer <paul.l.kehrer@gmail.com> | Sat Sep 05 16:01:50 2015 -0500 |
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | Sat Sep 05 16:01:50 2015 -0500 |
tree | a38c530a8fa4abeda85169bd2f7c3cc2a12f38da | |
parent | 2cfa855e7bce2c92a1afcdb04a7f01c5779f4c2d [diff] | |
parent | c7a9eb5468e53db4a2cf5736380c9045553242fe [diff] |
Merge pull request #353 from alex/check-result-code check the result here
diff --git a/OpenSSL/crypto.py b/OpenSSL/crypto.py index 9ff2e70..74ebc24 100644 --- a/OpenSSL/crypto.py +++ b/OpenSSL/crypto.py
@@ -1615,10 +1615,10 @@ "type argument must be FILETYPE_PEM, FILETYPE_ASN1, or " "FILETYPE_TEXT") + assert result_code == 1 return _bio_to_string(bio) - def dump_privatekey(type, pkey, cipher=None, passphrase=None): """ Dump a private key to a buffer