diff options
| author | Aaron Weiss <[email protected]> | 2014-12-21 08:52:12 -0500 |
|---|---|---|
| committer | Aaron Weiss <[email protected]> | 2014-12-21 08:52:12 -0500 |
| commit | e2fa62e2ae7bce4bee4744aa8ea440d8777e6890 (patch) | |
| tree | 5aef77ac1655533d6367d0897f7f7228c6a931fd /src | |
| parent | Print unexpected error codes (diff) | |
| download | rust-openssl-e2fa62e2ae7bce4bee4744aa8ea440d8777e6890.tar.xz rust-openssl-e2fa62e2ae7bce4bee4744aa8ea440d8777e6890.zip | |
Replaced now removed NativeMutex with StaticMutex, and fixed Neg
implementation for BigNum.
Diffstat (limited to 'src')
| -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 721fcea5..bcf6c104 100644 --- a/src/bn/mod.rs +++ b/src/bn/mod.rs @@ -463,7 +463,7 @@ pub mod unchecked { } impl Neg<BigNum> for BigNum { - fn neg(&self) -> BigNum { + fn neg(self) -> BigNum { let mut n = self.clone(); n.negate(); n |