diff options
author | David Weinstein <dweinst@insitusec.com> | 2016-08-03 15:56:38 -0400 |
---|---|---|
committer | David Weinstein <dweinst@insitusec.com> | 2016-08-17 01:23:54 -0400 |
commit | f9cd4bff1f371336bc4f69298713069ce09825b7 (patch) | |
tree | 4c29fc159904c468aad4a50ea15e8eebd95ff746 /openssl/src/error.rs | |
parent | 4dd6fae48ffce1bce578522c11e93518ecdb48da (diff) | |
download | rust-openssl-f9cd4bff1f371336bc4f69298713069ce09825b7.zip |
Progress on asn1 expiry
- Use MemBio and implement `Display` for Asn1Time
- Tweak doc for asn1 `not_before`, `not_after`
Diffstat (limited to 'openssl/src/error.rs')
-rw-r--r-- | openssl/src/error.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openssl/src/error.rs b/openssl/src/error.rs index 5fa542c2..cc89b5db 100644 --- a/openssl/src/error.rs +++ b/openssl/src/error.rs @@ -54,6 +54,12 @@ impl From<ErrorStack> for io::Error { } } +impl From<ErrorStack> for fmt::Error { + fn from(_: ErrorStack) -> fmt::Error { + fmt::Error + } +} + /// An error reported from OpenSSL. pub struct Error(c_ulong); |