Unverified Commit 68a19baf authored by Steven Fackler's avatar Steven Fackler Committed by GitHub
Browse files

Merge pull request #1346 from stbuehler/fix-asn1-octect-string-bindings

Fix ASN1_OCTET_STRING in bindings
parents 32b17363 4707e744
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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))] {
+1 −1
Original line number Diff line number Diff line
@@ -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,
}