rand_drbg.h: include <openssl/obj_mac.h>
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Mon, 29 Oct 2018 21:27:42 +0000 (22:27 +0100)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Tue, 30 Oct 2018 07:03:06 +0000 (08:03 +0100)
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)

include/openssl/rand_drbg.h

index a7dd0b5f3779de365cec74db9a071bba52627085..45b731b73c261e319dcdb508a4af4671ebbd8a72 100644 (file)
@@ -12,6 +12,7 @@
 
 # include <time.h>
 # include <openssl/ossl_typ.h>
+# include <openssl/obj_mac.h>
 
 /*
  * RAND_DRBG  flags