Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/19713)
#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>
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
}