OPENSSL_NO_ENGINE defined causes build failures

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)
This commit is contained in:
Pauli 2017-07-28 09:25:59 +10:00
parent d3b58b953c
commit e89f5fb370

View file

@ -12,12 +12,13 @@
#include <stdlib.h> #include <stdlib.h>
#include <openssl/e_os2.h> #include <openssl/e_os2.h>
# include "testutil.h"
#ifndef OPENSSL_NO_ENGINE #ifndef OPENSSL_NO_ENGINE
# include <openssl/buffer.h> # include <openssl/buffer.h>
# include <openssl/crypto.h> # include <openssl/crypto.h>
# include <openssl/engine.h> # include <openssl/engine.h>
# include <openssl/err.h> # include <openssl/err.h>
# include "testutil.h"
static void display_engine_list(void) static void display_engine_list(void)
{ {