aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2018-03-28 20:48:28 +0200
committerSteven Fackler <[email protected]>2018-03-28 20:48:28 +0200
commitc82a87a18e418d3748aa6203d4669d091df426ea (patch)
tree0c2a598e935280291f2ebb4208a0aac81f147b66 /openssl-sys
parentAdd X509Ref::serial_number (diff)
downloadrust-openssl-c82a87a18e418d3748aa6203d4669d091df426ea.tar.xz
rust-openssl-c82a87a18e418d3748aa6203d4669d091df426ea.zip
Add Asn1IntegerRef::to_bn
Also deprecate Asn1IntegerRef since it's just asking for trouble.
Diffstat (limited to 'openssl-sys')
-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 27ef7e91..d67d3740 100644
--- a/openssl-sys/src/lib.rs
+++ b/openssl-sys/src/lib.rs
@@ -1655,6 +1655,7 @@ extern "C" {
pub fn ASN1_INTEGER_get(dest: *const ASN1_INTEGER) -> c_long;
pub fn ASN1_INTEGER_set(dest: *mut ASN1_INTEGER, value: c_long) -> c_int;
+ pub fn ASN1_INTEGER_to_BN(ai: *const ASN1_INTEGER, bn: *mut BIGNUM) -> *mut BIGNUM;
pub fn ASN1_GENERALIZEDTIME_free(tm: *mut ASN1_GENERALIZEDTIME);
pub fn ASN1_GENERALIZEDTIME_print(b: *mut BIO, tm: *const ASN1_GENERALIZEDTIME) -> c_int;
pub fn ASN1_STRING_type_new(ty: c_int) -> *mut ASN1_STRING;