diff --git a/openssl-sys/src/obj_mac.rs b/openssl-sys/src/obj_mac.rs index 49fc4addff8a2599c6f02d4376426b0115ad9939..63f5cb38b21bb1b263e49d1fdeb1c50e49e78bb7 100644 --- a/openssl-sys/src/obj_mac.rs +++ b/openssl-sys/src/obj_mac.rs @@ -920,7 +920,11 @@ pub const NID_X448: c_int = 1035; pub const NID_ED25519: c_int = 1087; #[cfg(ossl111)] pub const NID_ED448: c_int = 1088; -#[cfg(any(ossl111, libressl291))] +#[cfg(ossl111)] pub const NID_sm3: c_int = 1143; -#[cfg(any(ossl111, libressl291))] +#[cfg(libressl291)] +pub const NID_sm3: c_int = 968; +#[cfg(ossl111)] pub const NID_sm3WithRSAEncryption: c_int = 1144; +#[cfg(libressl291)] +pub const NID_sm3WithRSAEncryption: c_int = 969;