1
0
mirror of https://github.com/mtrojnar/osslsigncode.git synced 2025-04-09 18:48:05 -05:00

Fixed clang -Wembedded-directive warning:

embedding a directive within macro arguments has undefined behavior
This commit is contained in:
olszomal 2022-06-21 12:43:29 +02:00 committed by Michał Trojnara
parent d556fb78dc
commit a44c8decbc

@ -5577,14 +5577,15 @@ static PKCS7 *cat_presign_file(file_type_t type, cmd_type_t cmd, FILE_HEADER *he
static void print_version()
{
#ifdef ENABLE_CURL
printf(PACKAGE_STRING ", using:\n\t%s (Library: %s)\n\t%s\n",
OPENSSL_VERSION_TEXT, OpenSSL_version(OPENSSL_VERSION),
#ifdef ENABLE_CURL
curl_version()
curl_version());
#else
"no libcurl available"
printf(PACKAGE_STRING ", using:\n\t%s (Library: %s)\n\t%s\n",
OPENSSL_VERSION_TEXT, OpenSSL_version(OPENSSL_VERSION),
"no libcurl available");
#endif /* ENABLE_CURL */
);
printf("\nPlease send bug-reports to " PACKAGE_BUGREPORT "\n\n");
}