From: Pauli Date: Sun, 3 Sep 2017 20:38:16 +0000 (+1000) Subject: Fix an include location problem in the extrended tests. X-Git-Tag: OpenSSL_1_1_1-pre1~692 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=21c7942140ff6e57cfcbf1afc9da8d8a8817ed2f;ds=inline Fix an include location problem in the extrended tests. [extended tests] Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/4327) --- diff --git a/test/ossl_shim/build.info b/test/ossl_shim/build.info index 8cb3542968..aa5f0624f8 100644 --- a/test/ossl_shim/build.info +++ b/test/ossl_shim/build.info @@ -1,6 +1,6 @@ IF[{- defined $target{cxx} && !$disabled{"external-tests"}-}] PROGRAMS_NO_INST=ossl_shim SOURCE[ossl_shim]=ossl_shim.cc async_bio.cc packeted_bio.cc test_config.cc - INCLUDE[ossl_shim]=. include ../../include ../.. + INCLUDE[ossl_shim]=. include ../../include DEPEND[ossl_shim]=../../libssl ../../libcrypto ENDIF diff --git a/test/ossl_shim/ossl_shim.cc b/test/ossl_shim/ossl_shim.cc index f1febd8f5a..cda32efbe4 100644 --- a/test/ossl_shim/ossl_shim.cc +++ b/test/ossl_shim/ossl_shim.cc @@ -1,5 +1,5 @@ /* - * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -11,6 +11,7 @@ #define __STDC_FORMAT_MACROS #endif +#include "packeted_bio.h" #include #if !defined(OPENSSL_SYS_WINDOWS) @@ -53,7 +54,6 @@ OPENSSL_MSVC_PRAGMA(comment(lib, "Ws2_32.lib")) #include #include "async_bio.h" -#include "packeted_bio.h" #include "test_config.h" namespace bssl { diff --git a/test/ossl_shim/packeted_bio.h b/test/ossl_shim/packeted_bio.h index 9b4fb1d4d2..bd3e3d1ff8 100644 --- a/test/ossl_shim/packeted_bio.h +++ b/test/ossl_shim/packeted_bio.h @@ -10,7 +10,7 @@ #ifndef HEADER_PACKETED_BIO #define HEADER_PACKETED_BIO -#include "e_os.h" +#include "../../e_os.h" #include #include