diff options
| author | Michael Gehring <[email protected]> | 2014-10-30 09:58:22 +0100 |
|---|---|---|
| committer | Michael Gehring <[email protected]> | 2014-10-30 09:58:22 +0100 |
| commit | 1eb79df25abf3eede1f9d799992927986ce8c7a0 (patch) | |
| tree | 8442882ca84d24508a59a9939654aadbdb54bbbc /src/x509 | |
| parent | Merge pull request #85 from vhbit/x509-load-pem (diff) | |
| download | rust-openssl-1eb79df25abf3eede1f9d799992927986ce8c7a0.tar.xz rust-openssl-1eb79df25abf3eede1f9d799992927986ce8c7a0.zip | |
fail! -> panic!
Diffstat (limited to 'src/x509')
| -rw-r--r-- | src/x509/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x509/mod.rs b/src/x509/mod.rs index 94934b25..48b5d455 100644 --- a/src/x509/mod.rs +++ b/src/x509/mod.rs @@ -390,7 +390,7 @@ impl<'ctx> X509<'ctx> { match len.cmp(&act_len) { Greater => None, Equal => Some(v), - Less => fail!("Fingerprint buffer was corrupted!") + Less => panic!("Fingerprint buffer was corrupted!") } } } |