From fa32bc950b8756b77bc1ba44d6f65276f55f4442 Mon Sep 17 00:00:00 2001 From: Chris Cole Date: Tue, 23 Dec 2014 15:50:29 -0500 Subject: [PATCH] Added Copy impl. --- openssl-sys/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 48fac1d2..dfcbf769 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -93,6 +93,8 @@ pub struct BIGNUM_PTR { pub ptr: *mut BIGNUM, } +impl Copy for BIGNUM_PTR {} + pub type CRYPTO_EX_new = extern "C" fn(parent: *mut c_void, ptr: *mut c_void, ad: *const CRYPTO_EX_DATA, idx: c_int, argl: c_long, argp: *const c_void) -> c_int;