fixed lib

This commit is contained in:
mamoniot 2023-03-09 12:31:20 -05:00
parent e02eeb0636
commit d808d1e8bf
No known key found for this signature in database
GPG key ID: ADCCDBBE0E3D3B3B

View file

@ -17,18 +17,15 @@ pub mod x25519;
/// NOTE: we assume that each aes library is threadsafe /// NOTE: we assume that each aes library is threadsafe
pub mod aes_fruity; pub mod aes_fruity;
#[cfg(not(target_os = "macos"))]
pub mod aes_openssl; pub mod aes_openssl;
//#[cfg(target_os = "macos")] #[cfg(target_os = "macos")]
pub use aes_fruity as aes; pub use aes_fruity as aes;
//#[cfg(not(target_os = "macos"))] #[cfg(not(target_os = "macos"))]
//pub use aes_openssl as aes; pub use aes_openssl as aes;
mod aes_tests; mod aes_tests;
#[cfg(target_os = "macos")]
pub mod aes_gmac_siv_fruity; pub mod aes_gmac_siv_fruity;
#[cfg(not(target_os = "macos"))]
pub mod aes_gmac_siv_openssl; pub mod aes_gmac_siv_openssl;
#[cfg(target_os = "macos")] #[cfg(target_os = "macos")]
pub use aes_gmac_siv_fruity as aes_gmac_siv; pub use aes_gmac_siv_fruity as aes_gmac_siv;