Add AUTHORITY_KEYID struct

This commit is contained in:
Stefan Bühler 2020-08-09 19:08:32 +02:00
parent 85d78b29af
commit 919874a2a5
1 changed files with 11 additions and 0 deletions

View File

@ -27,6 +27,17 @@ extern "C" {
pub fn GENERAL_NAME_free(name: *mut GENERAL_NAME);
}
#[repr(C)]
pub struct AUTHORITY_KEYID {
pub keyid: *mut ASN1_STRING,
pub issuer: *mut stack_st_GENERAL_NAME,
pub serial: *mut ASN1_INTEGER,
}
extern "C" {
pub fn AUTHORITY_KEYID_free(akid: *mut AUTHORITY_KEYID);
}
#[cfg(any(ossl102, libressl261))]
pub const X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT: c_uint = 0x1;
#[cfg(any(ossl102, libressl261))]