From 2935f6241c3a1f0dc6c7a6e0a95da4bc5f35439b Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 13 Sep 2018 17:02:53 +0200 Subject: VMS: turn on name mangling for all our programs With the change to have separate object files by intent, VMS name mangling gets done differently. While we previously had that for libraries only, we must now turn that on generally for our programs, because some of them depend in internal libraries where mangled names are all that there is. Dynamic modules are still built with non-mangled names, which is good enough to show that it's possible to build with our public libraries using our public headers. Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/7208) --- test/cipher_overhead_test.c | 10 ---------- test/curve448_internal_test.c | 11 ----------- test/ssl_cert_table_internal_test.c | 10 ---------- test/tls13encryptiontest.c | 11 ----------- test/tls13secretstest.c | 10 ---------- test/wpackettest.c | 11 ----------- test/x509_internal_test.c | 9 --------- 7 files changed, 72 deletions(-) (limited to 'test') diff --git a/test/cipher_overhead_test.c b/test/cipher_overhead_test.c index f8c6fd738e..8997fcc5d2 100644 --- a/test/cipher_overhead_test.c +++ b/test/cipher_overhead_test.c @@ -9,18 +9,8 @@ #include "internal/nelem.h" #include "testutil.h" - -#ifdef __VMS -# pragma names save -# pragma names as_is,shortened -#endif - #include "../ssl/ssl_locl.h" -#ifdef __VMS -# pragma names restore -#endif - static int cipher_overhead(void) { int ret = 1, i, n = ssl3_num_ciphers(); diff --git a/test/curve448_internal_test.c b/test/curve448_internal_test.c index e7d4378527..f0f1079073 100644 --- a/test/curve448_internal_test.c +++ b/test/curve448_internal_test.c @@ -10,18 +10,7 @@ #include #include #include - -#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; diff --git a/test/ssl_cert_table_internal_test.c b/test/ssl_cert_table_internal_test.c index 2104e8c516..bba4e441cb 100644 --- a/test/ssl_cert_table_internal_test.c +++ b/test/ssl_cert_table_internal_test.c @@ -15,19 +15,9 @@ #include #include "testutil.h" #include "internal/nelem.h" - -#ifdef __VMS -# pragma names save -# pragma names as_is,shortened -#endif - #include "../ssl/ssl_locl.h" #include "../ssl/ssl_cert_table.h" -#ifdef __VMS -# pragma names restore -#endif - #define test_cert_table(nid, amask, idx) \ do_test_cert_table(nid, amask, idx, #idx) diff --git a/test/tls13encryptiontest.c b/test/tls13encryptiontest.c index 6f359b3a2f..f9f61a05a0 100644 --- a/test/tls13encryptiontest.c +++ b/test/tls13encryptiontest.c @@ -9,19 +9,8 @@ #include #include - -#ifdef __VMS -# pragma names save -# pragma names as_is,shortened -#endif - #include "../ssl/ssl_locl.h" #include "../ssl/record/record_locl.h" - -#ifdef __VMS -# pragma names restore -#endif - #include "internal/nelem.h" #include "testutil.h" diff --git a/test/tls13secretstest.c b/test/tls13secretstest.c index 724c170c56..319df17bab 100644 --- a/test/tls13secretstest.c +++ b/test/tls13secretstest.c @@ -10,17 +10,7 @@ #include #include -#ifdef __VMS -# pragma names save -# pragma names as_is,shortened -#endif - #include "../ssl/ssl_locl.h" - -#ifdef __VMS -# pragma names restore -#endif - #include "testutil.h" #define IVLEN 12 diff --git a/test/wpackettest.c b/test/wpackettest.c index 773eef0525..71eb76346d 100644 --- a/test/wpackettest.c +++ b/test/wpackettest.c @@ -9,18 +9,7 @@ #include #include - -#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" static const unsigned char simple1[] = { 0xff }; diff --git a/test/x509_internal_test.c b/test/x509_internal_test.c index d2f41d7085..12f6ac95a8 100644 --- a/test/x509_internal_test.c +++ b/test/x509_internal_test.c @@ -23,18 +23,9 @@ * ***/ -#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(void) { size_t i; -- cgit v1.2.3