diff options
author | Richard Levitte <levitte@openssl.org> | 2018-09-13 17:02:53 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-09-14 11:00:38 +0200 |
commit | 2935f6241c3a1f0dc6c7a6e0a95da4bc5f35439b (patch) | |
tree | aa660ff3a80508a652f78bd6fde182d9ff162f69 /test | |
parent | c40af30ec5b8ef30be870ad734fc8bf9caeeafc2 (diff) | |
download | openssl-new-2935f6241c3a1f0dc6c7a6e0a95da4bc5f35439b.tar.gz |
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 <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7208)
Diffstat (limited to 'test')
-rw-r--r-- | test/cipher_overhead_test.c | 10 | ||||
-rw-r--r-- | test/curve448_internal_test.c | 11 | ||||
-rw-r--r-- | test/ssl_cert_table_internal_test.c | 10 | ||||
-rw-r--r-- | test/tls13encryptiontest.c | 11 | ||||
-rw-r--r-- | test/tls13secretstest.c | 10 | ||||
-rw-r--r-- | test/wpackettest.c | 11 | ||||
-rw-r--r-- | test/x509_internal_test.c | 9 |
7 files changed, 0 insertions, 72 deletions
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 <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; 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 <openssl/ssl.h> #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 <openssl/ssl.h> #include <openssl/evp.h> - -#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 <openssl/ssl.h> #include <openssl/evp.h> -#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 <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" 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; |