diff options
Diffstat (limited to 'crypto/dh')
-rw-r--r-- | crypto/dh/dh_backend.c | 3 | ||||
-rw-r--r-- | crypto/dh/dh_lib.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/crypto/dh/dh_backend.c b/crypto/dh/dh_backend.c index a727d5c87b..7bd5c617de 100644 --- a/crypto/dh/dh_backend.c +++ b/crypto/dh/dh_backend.c @@ -15,6 +15,9 @@ #include <openssl/err.h> #include <openssl/core_names.h> +#ifndef FIPS_MODULE +# include <openssl/x509.h> +#endif #include "internal/param_build_set.h" #include "crypto/dh.h" #include "dh_local.h" diff --git a/crypto/dh/dh_lib.c b/crypto/dh/dh_lib.c index 7154f8c2ab..29cda5d7bf 100644 --- a/crypto/dh/dh_lib.c +++ b/crypto/dh/dh_lib.c @@ -15,7 +15,9 @@ #include <stdio.h> #include <openssl/bn.h> -#include <openssl/engine.h> +#ifndef FIPS_MODULE +# include <openssl/engine.h> +#endif #include <openssl/obj_mac.h> #include <openssl/core_names.h> #include "internal/cryptlib.h" |