aboutsummaryrefslogtreecommitdiff
path: root/src/bn
diff options
context:
space:
mode:
authorMichael Gehring <[email protected]>2014-08-22 17:16:16 +0200
committerMichael Gehring <[email protected]>2014-08-22 17:16:16 +0200
commitc4a275dc37a705568c9d6a5a0be8b85214a7db34 (patch)
treecfdb26069adf63cb06359b7092b35dc65e262e5f /src/bn
parentMerge pull request #33 from isra17/master (diff)
downloadrust-openssl-c4a275dc37a705568c9d6a5a0be8b85214a7db34.tar.xz
rust-openssl-c4a275dc37a705568c9d6a5a0be8b85214a7db34.zip
Add repr(C) to C structs
Diffstat (limited to 'src/bn')
-rw-r--r--src/bn/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bn/mod.rs b/src/bn/mod.rs
index 1982de45..e1ec1360 100644
--- a/src/bn/mod.rs
+++ b/src/bn/mod.rs
@@ -5,6 +5,7 @@ use std::ptr;
use ssl::error::SslError;
#[allow(dead_code)]
+#[repr(C)]
struct BIGNUM {
d: *mut c_void,
top: c_int,