]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - include/crypto/sm2.h
Elimination of some sources not needed in the FIPS_MODULE
[thirdparty/openssl.git] / include / crypto / sm2.h
index e3278a31e6c6ab2093e421863c212142ce1853a7..165c01810f8cc20d73d6d19c92a9fc54554dc948 100644 (file)
@@ -15,7 +15,7 @@
 
 # include <openssl/opensslconf.h>
 
-# ifndef OPENSSL_NO_SM2
+# if !defined(OPENSSL_NO_SM2) && !defined(FIPS_MODULE)
 
 #  include <openssl/ec.h>
 #  include "crypto/types.h"