commit | 70b959e2d13a6330b5163d97733166ffbc213c80 | [log] [tgz] |
---|---|---|
author | Alex Gaynor <alex.gaynor@gmail.com> | Sat Sep 05 16:54:30 2015 -0400 |
committer | Alex Gaynor <alex.gaynor@gmail.com> | Sat Sep 05 16:54:30 2015 -0400 |
tree | cc720e8ab21338976fa28f78ea8c184f02ff8fe3 | |
parent | 2cfa855e7bce2c92a1afcdb04a7f01c5779f4c2d [diff] [blame] |
check the result here
diff --git a/OpenSSL/crypto.py b/OpenSSL/crypto.py index 9ff2e70..60b2c9b 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 == 0 return _bio_to_string(bio) - def dump_privatekey(type, pkey, cipher=None, passphrase=None): """ Dump a private key to a buffer