Missing "obj_mac" header file in "dh_lib"
authorDavide Galassi <davxy@datawok.net>
Sun, 2 Feb 2020 09:11:29 +0000 (10:11 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 3 Feb 2020 15:58:07 +0000 (15:58 +0000)
Usage of `NID_undef` symbol without including its definition was causing
a build fail

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10996)

crypto/dh/dh_lib.c

index f9fb1d9b7134ffc82d862c226114e144425d8e43..0c1cccb5db50d9144e89cafed106da2f73dc0f17 100644 (file)
@@ -8,13 +8,13 @@
  */
 
 #include <stdio.h>
-#include "internal/cryptlib.h"
-#include "internal/refcount.h"
 #include <openssl/bn.h>
-#include "dh_local.h"
-#include "crypto/dh.h"
 #include <openssl/engine.h>
+#include <openssl/obj_mac.h>
+#include "internal/cryptlib.h"
+#include "internal/refcount.h"
 #include "crypto/dh.h"
+#include "dh_local.h"
 
 #ifndef FIPS_MODE
 int DH_set_method(DH *dh, const DH_METHOD *meth)