Loading openssl/src/ec.rs +7 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ use ffi; use foreign_types::{ForeignType, ForeignTypeRef}; use libc::c_int; use std::fmt; use std::ptr; use bn::{BigNumContextRef, BigNumRef}; Loading Loading @@ -825,6 +826,12 @@ impl<T> Clone for EcKey<T> { } } impl<T> fmt::Debug for EcKey<T> { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "EcKey") } } #[cfg(test)] mod test { use hex::FromHex; Loading Loading
openssl/src/ec.rs +7 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ use ffi; use foreign_types::{ForeignType, ForeignTypeRef}; use libc::c_int; use std::fmt; use std::ptr; use bn::{BigNumContextRef, BigNumRef}; Loading Loading @@ -825,6 +826,12 @@ impl<T> Clone for EcKey<T> { } } impl<T> fmt::Debug for EcKey<T> { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "EcKey") } } #[cfg(test)] mod test { use hex::FromHex; Loading