X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=test%2Fwpackettest.c;h=5c7ea10165dcee8eea0c3bceb46e4e15023337bf;hp=2546ef3c6c3ab07e69f13a6ab3cfc9517df37887;hb=9b579777c5f84453940700fbd6f99abc09fe997e;hpb=adcd8e37db682a5818415b1e0e1d8847dd9ab1e6 diff --git a/test/wpackettest.c b/test/wpackettest.c index 2546ef3c6c..5c7ea10165 100644 --- a/test/wpackettest.c +++ b/test/wpackettest.c @@ -9,19 +9,29 @@ #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" -#include "test_main_custom.h" - -const static unsigned char simple1[] = { 0xff }; -const static unsigned char simple2[] = { 0x01, 0xff }; -const static unsigned char simple3[] = { 0x00, 0x00, 0x00, 0x01, 0xff }; -const static unsigned char nestedsub[] = { 0x03, 0xff, 0x01, 0xff }; -const static unsigned char seqsub[] = { 0x01, 0xff, 0x01, 0xff }; -const static unsigned char empty[] = { 0x00 }; -const static unsigned char alloc[] = { 0x02, 0xfe, 0xff }; -const static unsigned char submem[] = { 0x03, 0x02, 0xfe, 0xff }; -const static unsigned char fixed[] = { 0xff, 0xff, 0xff }; + +static const unsigned char simple1[] = { 0xff }; +static const unsigned char simple2[] = { 0x01, 0xff }; +static const unsigned char simple3[] = { 0x00, 0x00, 0x00, 0x01, 0xff }; +static const unsigned char nestedsub[] = { 0x03, 0xff, 0x01, 0xff }; +static const unsigned char seqsub[] = { 0x01, 0xff, 0x01, 0xff }; +static const unsigned char empty[] = { 0x00 }; +static const unsigned char alloc[] = { 0x02, 0xfe, 0xff }; +static const unsigned char submem[] = { 0x03, 0x02, 0xfe, 0xff }; +static const unsigned char fixed[] = { 0xff, 0xff, 0xff }; static BUF_MEM *buf;