Merge pull request #26 from davbo/correct-repr-x86
Added target_arch for repr
This commit is contained in:
commit
f3b2155854
|
|
@ -93,10 +93,6 @@ pub static X509_V_ERR_UNSUPPORTED_NAME_SYNTAX: c_int = 53;
|
|||
pub static X509_V_ERR_CRL_PATH_VALIDATION_ERROR: c_int = 54;
|
||||
pub static X509_V_ERR_APPLICATION_VERIFICATION: c_int = 50;
|
||||
|
||||
pub static XN_FLAG_RFC2253: c_ulong = 0x1110317;
|
||||
pub static XN_FLAG_ONELINE: c_ulong = 0x82031f;
|
||||
pub static XN_FLAG_MULTILINE: c_ulong = 0x2a40006;
|
||||
|
||||
#[link(name="ssl")]
|
||||
#[link(name="crypto")]
|
||||
extern "C" {
|
||||
|
|
|
|||
|
|
@ -213,13 +213,6 @@ pub struct X509Name<'x> {
|
|||
name: *mut ffi::X509_NAME
|
||||
}
|
||||
|
||||
#[repr(u64)]
|
||||
pub enum X509NameFormat {
|
||||
Rfc2253 = ffi::XN_FLAG_RFC2253,
|
||||
Oneline = ffi::XN_FLAG_ONELINE,
|
||||
Multiline = ffi::XN_FLAG_MULTILINE
|
||||
}
|
||||
|
||||
macro_rules! make_validation_error(
|
||||
($ok_val:ident, $($name:ident = $val:ident,)+) => (
|
||||
pub enum X509ValidationError {
|
||||
|
|
|
|||
Loading…
Reference in New Issue