diff options
author | Richard Levitte <levitte@openssl.org> | 2021-05-20 09:42:22 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2021-05-22 07:23:47 +0200 |
commit | b54611922b5eb760bd64de0c8edfeb13ae81fa65 (patch) | |
tree | 44f46ca2c8a99193eb2157e8dfe02600cb060068 /test/params_conversion_test.c | |
parent | Include "internal/numbers.h" in test programs using SIZE_MAX (diff) | |
download | openssl-b54611922b5eb760bd64de0c8edfeb13ae81fa65.tar.xz openssl-b54611922b5eb760bd64de0c8edfeb13ae81fa65.zip |
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 <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15366)
Diffstat (limited to 'test/params_conversion_test.c')
-rw-r--r-- | test/params_conversion_test.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/params_conversion_test.c b/test/params_conversion_test.c index 1c3a4716a6..2fc17cc592 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; |