Commit 6bb010f4 authored by Harry Chen's avatar Harry Chen
Browse files

Fix NID of SM3 series in libreSSL



Signed-off-by: default avatarHarry Chen <i@harrychen.xyz>
parent 7819f3e7
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -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;