]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Disable test/timing_load_creds.c on VMS
authorRichard Levitte <levitte@openssl.org>
Fri, 18 Nov 2022 12:28:35 +0000 (13:28 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 18 Nov 2022 21:32:01 +0000 (22:32 +0100)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/19713)

test/timing_load_creds.c

index 6953657517996a0d68d6eea13863292ef224f3a5..b5b53737287d3ee64c830e708d6e13d929cb34e6 100644 (file)
@@ -10,7 +10,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(__VMS)
 # include <sys/stat.h>
 # include <openssl/pem.h>
 # include <openssl/x509.h>
@@ -192,7 +192,13 @@ int main(int ac, char **av)
     OPENSSL_free(contents);
     return EXIT_SUCCESS;
 #else
+# if defined(_WIN32)
     fprintf(stderr, "This tool is not supported on Windows\n");
+# elif defined(__VMS)
+    fprintf(stderr, "This tool is not supported on VMS\n");
+# else
+    fprintf(stderr, "This tool is not supported on this platform\n");
+# endif
     exit(EXIT_FAILURE);
 #endif
 }