aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2014-12-21 10:33:24 -0800
committerSteven Fackler <[email protected]>2014-12-21 10:33:24 -0800
commit5af17a6cc88451e2503001a444592f2d780e705d (patch)
tree5aef77ac1655533d6367d0897f7f7228c6a931fd /src
parentPrint unexpected error codes (diff)
parentReplaced now removed NativeMutex with StaticMutex, and fixed Neg (diff)
downloadrust-openssl-5af17a6cc88451e2503001a444592f2d780e705d.tar.xz
rust-openssl-5af17a6cc88451e2503001a444592f2d780e705d.zip
Merge pull request #128 from aatxe/master
Fix openssl-sys.
Diffstat (limited to 'src')
-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 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