Skip to content

Commit

Permalink
Fix CMS on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Nov 8, 2024
1 parent 6f12ffa commit f35b6ac
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion security-framework-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "security-framework-sys"
version = "2.12.0"
version = "2.12.1"
authors = ["Steven Fackler <sfackler@gmail.com>", "Kornel <kornel@geekhood.net>"]
license = "MIT OR Apache-2.0"
description = "Apple `Security.framework` low-level FFI bindings"
Expand Down
1 change: 1 addition & 0 deletions security-framework-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pub mod certificate;
#[cfg(target_os = "macos")]
pub mod certificate_oids;
pub mod cipher_suite;
#[cfg(target_os = "macos")]
pub mod cms;
#[cfg(target_os = "macos")]
pub mod code_signing;
Expand Down
2 changes: 1 addition & 1 deletion security-framework/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "security-framework"
version = "3.0.0"
version = "3.0.1"
authors = ["Steven Fackler <sfackler@gmail.com>", "Kornel <kornel@geekhood.net>"]
license = "MIT OR Apache-2.0"
description = "Security.framework bindings for macOS and iOS"
Expand Down
2 changes: 1 addition & 1 deletion security-framework/src/cms.rs
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ mod decoder {
#[cfg(test)]
mod tests {
use security_framework_sys::cms::CMSSignerStatus;
use crate::cms::{cms_encode_content, CMSDecoder, CMSEncoder, SignedAttributes};
use crate::cms::{cms_encode_content, CMSDecoder, SignedAttributes};
use crate::import_export::{ImportedIdentity, Pkcs12ImportOptions};
use crate::policy::SecPolicy;

Expand Down
2 changes: 1 addition & 1 deletion security-framework/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub mod secure_transport;
pub mod trust;
#[cfg(target_os = "macos")]
pub mod trust_settings;
#[cfg(any(target_os = "macos", target_os = "ios", target_os = "tvos", target_os = "watchos", target_os = "visionos"))]
#[cfg(target_os = "macos")]
pub mod cms;

#[cfg(target_os = "macos")]
Expand Down

0 comments on commit f35b6ac

Please # to comment.