aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src/lib.rs
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2017-12-31 10:21:23 -0800
committerGitHub <[email protected]>2017-12-31 10:21:23 -0800
commitd3fff74ae8ab092a77050ba210b942e86c3bd9ff (patch)
treef5646108131916584291141407696ef894f2ff1e /openssl-sys/src/lib.rs
parentMerge pull request #809 from sfackler/issuer-name (diff)
parentParameterize keys over what they contain (diff)
downloadrust-openssl-d3fff74ae8ab092a77050ba210b942e86c3bd9ff.tar.xz
rust-openssl-d3fff74ae8ab092a77050ba210b942e86c3bd9ff.zip
Merge pull request #810 from sfackler/key-tag
Parameterize keys over what they contain
Diffstat (limited to 'openssl-sys/src/lib.rs')
-rw-r--r--openssl-sys/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs
index e855216a..e95e5d0d 100644
--- a/openssl-sys/src/lib.rs
+++ b/openssl-sys/src/lib.rs
@@ -1723,6 +1723,7 @@ extern "C" {
pub fn EC_KEY_new() -> *mut EC_KEY;
pub fn EC_KEY_new_by_curve_name(nid: c_int) -> *mut EC_KEY;
pub fn EC_KEY_dup(key: *const EC_KEY) -> *mut EC_KEY;
+ pub fn EC_KEY_up_ref(key: *mut EC_KEY) -> c_int;
pub fn EC_KEY_set_group(key: *mut EC_KEY, group: *const EC_GROUP) -> c_int;
pub fn EC_KEY_get0_group(key: *const EC_KEY) -> *const EC_GROUP;
pub fn EC_KEY_set_public_key(key: *mut EC_KEY, key: *const EC_POINT) -> c_int;