diff options
| author | Steven Fackler <[email protected]> | 2016-11-01 19:25:40 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2016-11-01 19:25:40 -0700 |
| commit | c776534ad4c89a23870aafb83709a25bc558fad0 (patch) | |
| tree | bc164d57eb8183f321ff766abc3ab12c3aea4ae1 /openssl-sys/src | |
| parent | Clean up stack destructor (diff) | |
| download | rust-openssl-c776534ad4c89a23870aafb83709a25bc558fad0.tar.xz rust-openssl-c776534ad4c89a23870aafb83709a25bc558fad0.zip | |
Clean up stack
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/ossl10x.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openssl-sys/src/ossl10x.rs b/openssl-sys/src/ossl10x.rs index 07fa7d46..461ee9b5 100644 --- a/openssl-sys/src/ossl10x.rs +++ b/openssl-sys/src/ossl10x.rs @@ -594,6 +594,8 @@ extern { pub fn EVP_MD_CTX_create() -> *mut EVP_MD_CTX; pub fn EVP_MD_CTX_destroy(ctx: *mut EVP_MD_CTX); + pub fn sk_num(st: *mut _STACK) -> c_int; + pub fn sk_value(st: *mut _STACK, n: c_int) -> *mut c_void; pub fn sk_free(st: *mut _STACK); pub fn sk_pop_free(st: *mut _STACK, free: Option<unsafe extern "C" fn (*mut c_void)>); pub fn sk_pop(st: *mut _STACK) -> *mut c_void; |