aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src/libressl
diff options
context:
space:
mode:
authorRohit Aggarwal <[email protected]>2018-03-08 11:54:19 +0000
committerRohit Aggarwal <[email protected]>2018-03-08 11:54:19 +0000
commit55ffc9b2e415c3286c8d903b7c0284c834e4a13d (patch)
treed8ee3c794afd47c4f87f925c86adc6e616c763a2 /openssl-sys/src/libressl
parentExposed some of ECDSA functions (diff)
downloadrust-openssl-55ffc9b2e415c3286c8d903b7c0284c834e4a13d.tar.xz
rust-openssl-55ffc9b2e415c3286c8d903b7c0284c834e4a13d.zip
Add support LibreSSL and remove OpenSSL binding which we aren't using
Diffstat (limited to 'openssl-sys/src/libressl')
-rw-r--r--openssl-sys/src/libressl/mod.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/openssl-sys/src/libressl/mod.rs b/openssl-sys/src/libressl/mod.rs
index 8454a78a..c47363ca 100644
--- a/openssl-sys/src/libressl/mod.rs
+++ b/openssl-sys/src/libressl/mod.rs
@@ -134,6 +134,12 @@ pub struct DSA {
}
#[repr(C)]
+pub struct ECDSA_SIG {
+ pub r: *mut ::BIGNUM,
+ pub s: *mut ::BIGNUM
+}
+
+#[repr(C)]
pub struct EVP_PKEY {
pub type_: c_int,
pub save_type: c_int,