summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2018-10-29 22:27:42 +0100
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2018-10-30 08:03:06 +0100
commit5cf0f0e70887fbe9d94a95e25e379a64e1676010 (patch)
tree89e4e00914581472790c7e185841e8ffec4f15e1 /include
parent189b56b206e9d588560b609a3738fabceb76bcc3 (diff)
rand_drbg.h: include <openssl/obj_mac.h>
The RAND_DRBG_TYPE preprocessor define depends on a NID, so we have to include obj_mac.h to make the header selfcontained. Fixes #7521 Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/7524) (cherry picked from commit cf3d6ef7af7d6c47f5ccd4ce58d822972018b21c)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/rand_drbg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/rand_drbg.h b/include/openssl/rand_drbg.h
index a7dd0b5f37..45b731b73c 100644
--- a/include/openssl/rand_drbg.h
+++ b/include/openssl/rand_drbg.h
@@ -12,6 +12,7 @@
# include <time.h>
# include <openssl/ossl_typ.h>
+# include <openssl/obj_mac.h>
/*
* RAND_DRBG flags