aboutsummaryrefslogtreecommitdiff
path: root/test/curve448_internal_test.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-02-21 10:15:16 +0100
committerRichard Levitte <levitte@openssl.org>2018-02-21 10:50:35 +0100
commitb8a3f39b890304757058deb730c855b72c14947b (patch)
treed50c5317e41b60ccb27c584a71ea057293f5f054 /test/curve448_internal_test.c
parentd4c499f562c1ab7ec7773c3987fc4dce7662a805 (diff)
downloadopenssl-b8a3f39b890304757058deb730c855b72c14947b.zip
openssl-b8a3f39b890304757058deb730c855b72c14947b.tar.gz
openssl-b8a3f39b890304757058deb730c855b72c14947b.tar.bz2
VMS: Fix curve448 internal test program
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: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5425)
Diffstat (limited to 'test/curve448_internal_test.c')
-rw-r--r--test/curve448_internal_test.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/curve448_internal_test.c b/test/curve448_internal_test.c
index aac4818..8c9b09d 100644
--- a/test/curve448_internal_test.c
+++ b/test/curve448_internal_test.c
@@ -10,7 +10,18 @@
#include <string.h>
#include <openssl/e_os2.h>
#include <openssl/evp.h>
+
+#ifdef __VMS
+# pragma names save
+# pragma names as_is,shortened
+#endif
+
#include "curve448_lcl.h"
+
+#ifdef __VMS
+# pragma names restore
+#endif
+
#include "testutil.h"
static unsigned int max = 1000;