Fix ASN1_OCTET_STRING in bindings
This commit is contained in:
parent
32b1736368
commit
4707e74420
|
|
@ -545,7 +545,7 @@ extern "C" {
|
|||
pub fn X509_EXTENSION_set_critical(ex: *mut X509_EXTENSION, crit: c_int) -> c_int;
|
||||
pub fn X509_EXTENSION_set_data(ex: *mut X509_EXTENSION, data: *mut ASN1_OCTET_STRING) -> c_int;
|
||||
pub fn X509_EXTENSION_get_object(ext: *mut X509_EXTENSION) -> *mut ASN1_OBJECT;
|
||||
pub fn X509_EXTENSION_get_data(ext: *mut X509_EXTENSION) -> *mut ASN1_STRING;
|
||||
pub fn X509_EXTENSION_get_data(ext: *mut X509_EXTENSION) -> *mut ASN1_OCTET_STRING;
|
||||
}
|
||||
cfg_if! {
|
||||
if #[cfg(any(ossl110, libressl280))] {
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ extern "C" {
|
|||
|
||||
#[repr(C)]
|
||||
pub struct AUTHORITY_KEYID {
|
||||
pub keyid: *mut ASN1_STRING,
|
||||
pub keyid: *mut ASN1_OCTET_STRING,
|
||||
pub issuer: *mut stack_st_GENERAL_NAME,
|
||||
pub serial: *mut ASN1_INTEGER,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue