OPENSSL_NO_ENGINE defined causes build failures
authorPauli <paul.dale@oracle.com>
Thu, 27 Jul 2017 23:25:59 +0000 (09:25 +1000)
committerPauli <paul.dale@oracle.com>
Thu, 27 Jul 2017 23:25:59 +0000 (09:25 +1000)
TEST_note as an undefined link symbol is the symptom.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4032)

test/enginetest.c

index d32260f5ca4b377cdf369bb6007d3fa2bfa3d955..4e782778598f57cdcdbe63eec74fce155fbf0106 100644 (file)
 #include <stdlib.h>
 #include <openssl/e_os2.h>
 
 #include <stdlib.h>
 #include <openssl/e_os2.h>
 
+# include "testutil.h"
+
 #ifndef OPENSSL_NO_ENGINE
 # include <openssl/buffer.h>
 # include <openssl/crypto.h>
 # include <openssl/engine.h>
 # include <openssl/err.h>
 #ifndef OPENSSL_NO_ENGINE
 # include <openssl/buffer.h>
 # include <openssl/crypto.h>
 # include <openssl/engine.h>
 # include <openssl/err.h>
-# include "testutil.h"
 
 static void display_engine_list(void)
 {
 
 static void display_engine_list(void)
 {