diff options
| author | Chris Cole <[email protected]> | 2014-12-10 22:08:32 -0500 |
|---|---|---|
| committer | Chris Cole <[email protected]> | 2014-12-10 22:08:32 -0500 |
| commit | 33f3c966ac0448a6f906f23d7cf51969c088bfa1 (patch) | |
| tree | 64e5feadaaa1805ce9a9459ad0cc7aac7a297b29 /src | |
| parent | Merge remote-tracking branch 'upstream/master' (diff) | |
| download | rust-openssl-33f3c966ac0448a6f906f23d7cf51969c088bfa1.tar.xz rust-openssl-33f3c966ac0448a6f906f23d7cf51969c088bfa1.zip | |
Added mod_word.
Diffstat (limited to 'src')
| -rw-r--r-- | src/bn/mod.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bn/mod.rs b/src/bn/mod.rs index 3944fdcd..95805085 100644 --- a/src/bn/mod.rs +++ b/src/bn/mod.rs @@ -145,13 +145,11 @@ impl BigNum { } } -/*XXX pub fn mod_word(&self, w: c_ulong) -> c_ulong { unsafe { BN_mod_word(self.raw(), w) } } -*/ pub fn checked_gcd(&self, a: &BigNum) -> Result<BigNum, SslError> { unsafe { |