summaryrefslogtreecommitdiff
path: root/thirdparty/openssl/crypto/dh/dh_kdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/openssl/crypto/dh/dh_kdf.c')
-rw-r--r--thirdparty/openssl/crypto/dh/dh_kdf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/thirdparty/openssl/crypto/dh/dh_kdf.c b/thirdparty/openssl/crypto/dh/dh_kdf.c
index a882cb286e..8947a08731 100644
--- a/thirdparty/openssl/crypto/dh/dh_kdf.c
+++ b/thirdparty/openssl/crypto/dh/dh_kdf.c
@@ -51,6 +51,9 @@
* ====================================================================
*/
+#include <e_os.h>
+
+#ifndef OPENSSL_NO_CMS
#include <string.h>
#include <openssl/dh.h>
#include <openssl/evp.h>
@@ -185,3 +188,4 @@ int DH_KDF_X9_42(unsigned char *out, size_t outlen,
EVP_MD_CTX_cleanup(&mctx);
return rv;
}
+#endif