diff options
| author | Steven Fackler <[email protected]> | 2014-10-30 10:58:51 -0400 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-10-30 10:58:51 -0400 |
| commit | 66df9154a6fcc468f91b326a3c2b8e8850d75b19 (patch) | |
| tree | 5af156761bbcce3bb905013ff80bfc9892f26f9d /src/bn | |
| parent | Clean up some BN stuff (diff) | |
| parent | fail! -> panic! (diff) | |
| download | rust-openssl-66df9154a6fcc468f91b326a3c2b8e8850d75b19.tar.xz rust-openssl-66df9154a6fcc468f91b326a3c2b8e8850d75b19.zip | |
Merge pull request #90 from ebfe/fix-build
fail! -> panic!
Diffstat (limited to 'src/bn')
| -rw-r--r-- | src/bn/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bn/mod.rs b/src/bn/mod.rs index 0900f478..a3ac8ffd 100644 --- a/src/bn/mod.rs +++ b/src/bn/mod.rs @@ -473,7 +473,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) } |