aboutsummaryrefslogtreecommitdiff
path: root/src/bn
diff options
context:
space:
mode:
authorMichael Gehring <[email protected]>2014-10-30 09:58:22 +0100
committerMichael Gehring <[email protected]>2014-10-30 09:58:22 +0100
commit1eb79df25abf3eede1f9d799992927986ce8c7a0 (patch)
tree8442882ca84d24508a59a9939654aadbdb54bbbc /src/bn
parentMerge pull request #85 from vhbit/x509-load-pem (diff)
downloadrust-openssl-1eb79df25abf3eede1f9d799992927986ce8c7a0.tar.xz
rust-openssl-1eb79df25abf3eede1f9d799992927986ce8c7a0.zip
fail! -> panic!
Diffstat (limited to 'src/bn')
-rw-r--r--src/bn/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bn/mod.rs b/src/bn/mod.rs
index 6311e89c..5a1b9b65 100644
--- a/src/bn/mod.rs
+++ b/src/bn/mod.rs
@@ -483,7 +483,7 @@ pub mod unchecked {
unsafe {
let r = ffi::BN_dup(self.raw());
if r.is_null() {
- fail!("Unexpected null pointer from BN_dup(..)")
+ panic!("Unexpected null pointer from BN_dup(..)")
} else {
BigNum(r)
}