diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-07-01 17:41:02 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-07-06 10:52:27 +1000 |
commit | 3f773c911a03c5be2eff00beaf94e88f1d997b22 (patch) | |
tree | dbfe1a171b0a504548c992804cbc71a1661b5b6b /crypto/dsa | |
parent | 1627a41f1db38c0e762cbbcb452a869924370561 (diff) |
fips module header inclusion fine-tunning
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15974)
Diffstat (limited to 'crypto/dsa')
-rw-r--r-- | crypto/dsa/dsa_backend.c | 3 | ||||
-rw-r--r-- | crypto/dsa/dsa_lib.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/crypto/dsa/dsa_backend.c b/crypto/dsa/dsa_backend.c index e4fa070f23..5e3ff85154 100644 --- a/crypto/dsa/dsa_backend.c +++ b/crypto/dsa/dsa_backend.c @@ -15,6 +15,9 @@ #include <openssl/core_names.h> #include <openssl/err.h> +#ifndef FIPS_MODULE +# include <openssl/x509.h> +#endif #include "crypto/dsa.h" #include "dsa_local.h" diff --git a/crypto/dsa/dsa_lib.c b/crypto/dsa/dsa_lib.c index 5512b99ef1..ccc7016592 100644 --- a/crypto/dsa/dsa_lib.c +++ b/crypto/dsa/dsa_lib.c @@ -14,7 +14,9 @@ #include "internal/deprecated.h" #include <openssl/bn.h> -#include <openssl/engine.h> +#ifndef FIPS_MODULE +# include <openssl/engine.h> +#endif #include "internal/cryptlib.h" #include "internal/refcount.h" #include "crypto/dsa.h" |