Skip to content

Commit

Permalink
ASN1_STRFLGS_ESC_2254 only in OpenSSL 1.1.0+
Browse files Browse the repository at this point in the history
Not supported by LibreSSL. Not supported < `ossl110`
  • Loading branch information
overhacked committed Jul 28, 2023
1 parent 2eaac7c commit a5c0b7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions openssl-sys/src/x509.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ pub const ASN1_STRFLGS_SHOW_TYPE: c_ulong = 0x40;
pub const ASN1_STRFLGS_DUMP_ALL: c_ulong = 0x80;
pub const ASN1_STRFLGS_DUMP_UNKNOWN: c_ulong = 0x100;
pub const ASN1_STRFLGS_DUMP_DER: c_ulong = 0x200;
#[cfg(ossl110)]
pub const ASN1_STRFLGS_ESC_2254: c_ulong = 0x400;
pub const ASN1_STRFLGS_RFC2253: c_ulong = ASN1_STRFLGS_ESC_2253
| ASN1_STRFLGS_ESC_CTRL
Expand Down
1 change: 1 addition & 0 deletions openssl/src/x509/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ bitflags! {
const STR_DUMP_ALL = ffi::ASN1_STRFLGS_DUMP_ALL;
const STR_DUMP_UNKNOWN = ffi::ASN1_STRFLGS_DUMP_UNKNOWN;
const STR_DUMP_DER = ffi::ASN1_STRFLGS_DUMP_DER;
#[cfg(ossl110)]
const STR_ESC_2254 = ffi::ASN1_STRFLGS_ESC_2254;
}
}
Expand Down

0 comments on commit a5c0b7c

Please sign in to comment.