summaryrefslogtreecommitdiffstats
path: root/test/asn1_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/asn1_internal_test.c
parent19eaee749d3b460246d9feadea350b22fa329f03 (diff)
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/asn1_internal_test.c')
-rw-r--r--test/asn1_internal_test.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/asn1_internal_test.c b/test/asn1_internal_test.c
index f936098cd9..6dc8a1160d 100644
--- a/test/asn1_internal_test.c
+++ b/test/asn1_internal_test.c
@@ -59,7 +59,17 @@ static int test_tbl_standard()
*
***/
+#ifdef __VMS
+# pragma names save
+# pragma names as_is,shortened
+#endif
+
#include "internal/asn1_int.h"
+
+#ifdef __VMS
+# pragma names restore
+#endif
+
#include "../crypto/asn1/standard_methods.h"
static int test_standard_methods()