Merge pull request #26 from davbo/correct-repr-x86

Added target_arch for repr
This commit is contained in:
Steven Fackler 2014-07-09 17:52:34 -04:00
commit f3b2155854
2 changed files with 0 additions and 11 deletions

View File

@ -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_CRL_PATH_VALIDATION_ERROR: c_int = 54;
pub static X509_V_ERR_APPLICATION_VERIFICATION: c_int = 50; 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="ssl")]
#[link(name="crypto")] #[link(name="crypto")]
extern "C" { extern "C" {

View File

@ -213,13 +213,6 @@ pub struct X509Name<'x> {
name: *mut ffi::X509_NAME 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( macro_rules! make_validation_error(
($ok_val:ident, $($name:ident = $val:ident,)+) => ( ($ok_val:ident, $($name:ident = $val:ident,)+) => (
pub enum X509ValidationError { pub enum X509ValidationError {