From: Richard Levitte Date: Thu, 20 May 2021 07:42:22 +0000 (+0200) Subject: test/params_conversion_test.c: fix the use of strtoumax and strtoimax on VMS X-Git-Tag: openssl-3.0.0-beta1~437 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b54611922b5eb760bd64de0c8edfeb13ae81fa65;p=thirdparty%2Fopenssl.git test/params_conversion_test.c: fix the use of strtoumax and strtoimax on VMS We do this by making them aliases for strtoull and strtoll, since long long is the current largest integer that have this sort of routine on VMS. Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/15366) --- diff --git a/test/params_conversion_test.c b/test/params_conversion_test.c index 1c3a4716a6a..2fc17cc5920 100644 --- a/test/params_conversion_test.c +++ b/test/params_conversion_test.c @@ -19,6 +19,11 @@ # define strcasecmp _stricmp # endif +# ifdef OPENSSL_SYS_VMS +# define strtoumax strtoull +# define strtoimax strtoll +# endif + typedef struct { OSSL_PARAM *param; int32_t i32;