summaryrefslogtreecommitdiff
path: root/test/wpackettest.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/wpackettest.c
parent19eaee749d3b460246d9feadea350b22fa329f03 (diff)
downloadopenssl-new-edd689efbfa26a657a5d8310f43a4f11d29a460e.tar.gz
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/wpackettest.c')
-rw-r--r--test/wpackettest.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/wpackettest.c b/test/wpackettest.c
index 2546ef3c6c..a37fab7a3b 100644
--- a/test/wpackettest.c
+++ b/test/wpackettest.c
@@ -9,7 +9,18 @@
#include <string.h>
#include <openssl/buffer.h>
+
+#ifdef __VMS
+# pragma names save
+# pragma names as_is,shortened
+#endif
+
#include "../ssl/packet_locl.h"
+
+#ifdef __VMS
+# pragma names restore
+#endif
+
#include "testutil.h"
#include "test_main_custom.h"