Skip to content

Added target_arch for repr #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions ssl/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
7 changes: 0 additions & 7 deletions ssl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down