diff options
| author | Cory Benfield <lukasaoz@gmail.com> | 2015-10-28 08:58:31 +0900 |
|---|---|---|
| committer | Cory Benfield <lukasaoz@gmail.com> | 2015-10-28 08:58:31 +0900 |
| commit | 1e9c7ab4fccf8b5497b2d0cf86d2b02adc7992b8 (patch) | |
| tree | 2bbeeaed9475b288dcd118c6faad5be4b8083df9 /src | |
| parent | e813cecc7caa3584bdb57126039bb1e0414a2337 (diff) | |
| download | pyopenssl-1e9c7ab4fccf8b5497b2d0cf86d2b02adc7992b8.tar.gz | |
No coverage on this branch
Diffstat (limited to 'src')
| -rw-r--r-- | src/OpenSSL/crypto.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/OpenSSL/crypto.py b/src/OpenSSL/crypto.py index 8e83749..e72e857 100644 --- a/src/OpenSSL/crypto.py +++ b/src/OpenSSL/crypto.py @@ -1642,8 +1642,7 @@ def dump_publickey(type, pkey): raise ValueError("type argument must be FILETYPE_PEM or FILETYPE_ASN1") result_code = write_bio(bio, pkey._pkey) - if result_code != 1: - # TODO: This is untested. + if result_code != 1: # pragma: no cover _raise_current_error() return _bio_to_string(bio) |
