diff options
| author | David Weinstein <[email protected]> | 2016-08-16 22:39:30 -0400 |
|---|---|---|
| committer | David Weinstein <[email protected]> | 2016-08-17 01:23:54 -0400 |
| commit | 96b1ef829cc51a901dd7b7225b9307b8628a4898 (patch) | |
| tree | 994620614ab4aedce01827ea030a1e8180c9ced6 /openssl-sys/src | |
| parent | Introduce `Asn1TimeRef` (diff) | |
| download | rust-openssl-96b1ef829cc51a901dd7b7225b9307b8628a4898.tar.xz rust-openssl-96b1ef829cc51a901dd7b7225b9307b8628a4898.zip | |
Add `"x509_expiry"` feature flag
- fix return of `ASN1_TIME_print`
- assert on null `date`
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 92be6183..ab29f55c 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -625,7 +625,7 @@ extern "C" { pub fn ASN1_INTEGER_set(dest: *mut ASN1_INTEGER, value: c_long) -> c_int; pub fn ASN1_STRING_type_new(ty: c_int) -> *mut ASN1_STRING; pub fn ASN1_TIME_free(tm: *mut ASN1_TIME); - pub fn ASN1_TIME_print(b: *mut BIO, tm: *const ASN1_TIME); + pub fn ASN1_TIME_print(b: *mut BIO, tm: *const ASN1_TIME) -> c_int; pub fn BIO_ctrl(b: *mut BIO, cmd: c_int, larg: c_long, parg: *mut c_void) -> c_long; pub fn BIO_free_all(b: *mut BIO); |