diff options
author | Richard Levitte <levitte@openssl.org> | 2024-03-30 12:52:50 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-04-04 18:16:05 +0200 |
commit | a19553cd872047289d6fc730a864bf9d984283ce (patch) | |
tree | 26d4da2acaeed0bcdf27042da853b47f7ffbbe72 /test | |
parent | 089271601a1d085f33ef7b7d8c3b6879045be370 (diff) | |
download | openssl-a19553cd872047289d6fc730a864bf9d984283ce.zip openssl-a19553cd872047289d6fc730a864bf9d984283ce.tar.gz openssl-a19553cd872047289d6fc730a864bf9d984283ce.tar.bz2 |
Diverse small VMS build fixups
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24008)
(cherry picked from commit 1a4b029af51ba6128a37959796381ca5b8b7ac00)
Diffstat (limited to 'test')
-rw-r--r-- | test/json_test.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/json_test.c b/test/json_test.c index db3038d..7b46b4f 100644 --- a/test/json_test.c +++ b/test/json_test.c @@ -144,6 +144,15 @@ typedef void (*fp_pz_type)(OSSL_JSON_ENC *, const void *, size_t); return &script_info; \ } +#ifdef OPENSSL_SYS_VMS +/* + * The VMS C compiler recognises \u in strings, and emits a warning, which + * stops the build. Because we think we know what we're doing, we change that + * particular message to be merely informational. + */ +# pragma message informational UCNNOMAP +#endif + #define END_SCRIPT_EXPECTING_S(s) END_SCRIPT_EXPECTING(s, SIZE_MAX) #define END_SCRIPT_EXPECTING_Q(s) END_SCRIPT_EXPECTING(#s, sizeof(#s) - 1) |