mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-04-09 18:48:05 -05:00
Fix clang/OS X warnings about embedded directives within macro arguments to sprintf
This commit is contained in:
parent
c143eff68f
commit
68c4163332
@ -5571,23 +5571,20 @@ static PKCS7 *cat_presign_file(file_type_t type, cmd_type_t cmd, FILE_HEADER *he
|
|||||||
|
|
||||||
static void print_version()
|
static void print_version()
|
||||||
{
|
{
|
||||||
printf("%s, using:\n\t%s (Library: %s)\n\t%s\n",
|
|
||||||
#ifdef PACKAGE_STRING
|
#ifdef PACKAGE_STRING
|
||||||
PACKAGE_STRING,
|
printf("%s, using:\n", PACKAGE_STRING);
|
||||||
#else /* PACKAGE_STRING */
|
#else /* PACKAGE_STRING */
|
||||||
"osslsigncode custom build",
|
printf("%s, using:\n", "osslsigncode custom build");
|
||||||
#endif /* PACKAGE_STRING */
|
#endif /* PACKAGE_STRING */
|
||||||
OPENSSL_VERSION_TEXT,
|
printf("\t%s (Library: %s)\n", OPENSSL_VERSION_TEXT, OpenSSL_version(OPENSSL_VERSION));
|
||||||
OpenSSL_version(OPENSSL_VERSION),
|
|
||||||
#ifdef ENABLE_CURL
|
#ifdef ENABLE_CURL
|
||||||
curl_version()
|
printf("\t%s\n", curl_version());
|
||||||
#else /* ENABLE_CURL */
|
#else /* ENABLE_CURL */
|
||||||
"no libcurl available"
|
printf("\t%s\n", "no libcurl available");
|
||||||
#endif /* ENABLE_CURL */
|
#endif /* ENABLE_CURL */
|
||||||
);
|
|
||||||
#ifdef PACKAGE_BUGREPORT
|
#ifdef PACKAGE_BUGREPORT
|
||||||
printf("\nPlease send bug-reports to " PACKAGE_BUGREPORT "\n");
|
printf("\nPlease send bug-reports to " PACKAGE_BUGREPORT "\n");
|
||||||
#endif
|
#endif /* PACKAGE_BUGREPORT */
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user