aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2018-03-28 21:13:50 +0200
committerGitHub <[email protected]>2018-03-28 21:13:50 +0200
commit020b2384c6ad7f488aad6496a1029443ca12ff8c (patch)
tree0c2a598e935280291f2ebb4208a0aac81f147b66 /openssl-sys/src
parentMerge pull request #884 from sfackler/libressl-27 (diff)
parentAdd Asn1IntegerRef::to_bn (diff)
downloadrust-openssl-020b2384c6ad7f488aad6496a1029443ca12ff8c.tar.xz
rust-openssl-020b2384c6ad7f488aad6496a1029443ca12ff8c.zip
Merge pull request #887 from sfackler/get-serialnumber
Add X509Ref::serial_number
Diffstat (limited to 'openssl-sys/src')
-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;