summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-06-04 17:01:24 +0200
committerTomas Mraz <tomas@openssl.org>2021-06-07 08:37:09 +0200
commitdce7272d08601929a494b9367f4e70163c524cb3 (patch)
tree7b8647052d14f593b115c84d852dd5e3567587a0 /include/crypto
parent97cf9b05fa1cdb8e4e7f60016aa95ae0e976e8c3 (diff)
Elimination of some sources not needed in the FIPS_MODULE
Unfortunately in terms of fips.sources this does not mean much given the way how the .h files are added via the dependency information from the compiler. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15622)
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/sm2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/sm2.h b/include/crypto/sm2.h
index e3278a31e6..165c01810f 100644
--- a/include/crypto/sm2.h
+++ b/include/crypto/sm2.h
@@ -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"