summaryrefslogtreecommitdiffstats
path: root/crypto/dh/dh_kdf.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-07-06 10:11:17 +0200
committerRichard Levitte <levitte@openssl.org>2017-08-15 12:54:47 +0200
commitd46d2da41c75ff765c914bf1c19063e97c8c519a (patch)
tree463d6ee44ce54538cb6109999dee8ed2756bb53a /crypto/dh/dh_kdf.c
parent3735a900eddcb7a1355e43fa3ad8928db7837dcb (diff)
Fix 'no-cms'
Fixes #3867 Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3873)
Diffstat (limited to 'crypto/dh/dh_kdf.c')
-rw-r--r--crypto/dh/dh_kdf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/dh/dh_kdf.c b/crypto/dh/dh_kdf.c
index a882cb286e..8947a08731 100644
--- a/crypto/dh/dh_kdf.c
+++ b/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