summaryrefslogtreecommitdiffstats
path: root/test/x509_internal_test.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-04-18 23:30:57 +0200
committerRichard Levitte <levitte@openssl.org>2017-04-18 23:46:13 +0200
commitedd689efbfa26a657a5d8310f43a4f11d29a460e (patch)
tree60f8aef4f49285b87947175b43835ed110058f05 /test/x509_internal_test.c
parentVMS: Fix the passing of cflags for things not being installed (diff)
downloadopenssl-edd689efbfa26a657a5d8310f43a4f11d29a460e.tar.xz
openssl-edd689efbfa26a657a5d8310f43a4f11d29a460e.zip
VMS: Fix internals test programs
The internals test programs access header files that aren't guarded by the public __DECC_INCLUDE_PROLOGUE.H and __DECC_INCLUDE_EPILOGUE.H files, and therefore have no idea what the naming convention is. Therefore, we need to specify that explicitely in the internals test programs, since they aren't built with the same naming convention as the library they belong with. Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3247)
Diffstat (limited to 'test/x509_internal_test.c')
-rw-r--r--test/x509_internal_test.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/x509_internal_test.c b/test/x509_internal_test.c
index d602efc57f..0a3a9beacd 100644
--- a/test/x509_internal_test.c
+++ b/test/x509_internal_test.c
@@ -24,9 +24,18 @@
*
***/
+#ifdef __VMS
+# pragma names save
+# pragma names as_is,shortened
+#endif
+
#include "../crypto/x509v3/ext_dat.h"
#include "../crypto/x509v3/standard_exts.h"
+#ifdef __VMS
+# pragma names restore
+#endif
+
static int test_standard_exts()
{
size_t i;