From 12966f611af5bbac168623f55f27ccb7b772a374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Trojnara?= Date: Wed, 24 Apr 2019 06:54:44 +0200 Subject: [PATCH] Consistent DO_EXIT_n interface --- LICENSE.txt | 2 +- osslsigncode.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index d6757df..ac2d3fe 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,7 +1,7 @@ OpenSSL based Authenticode signing for PE/MSI/Java CAB files. Copyright (C) 2005-2014 Per Allansson -Copyright (C) 2018 Michał Trojnara +Copyright (C) 2018-2019 Michał Trojnara This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/osslsigncode.c b/osslsigncode.c index a4cbaf1..59573ca 100644 --- a/osslsigncode.c +++ b/osslsigncode.c @@ -2,7 +2,7 @@ OpenSSL based Authenticode signing for PE/MSI/Java CAB files. Copyright (C) 2005-2015 Per Allansson - Copyright (C) 2018 Michał Trojnara + Copyright (C) 2018-2019 Michał Trojnara This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -860,7 +860,7 @@ static void usage(const char *argv0) exit(-1); } -#define DO_EXIT_0(x) { fputs(x, stderr); goto err_cleanup; } +#define DO_EXIT_0(x) { fprintf(stderr, x); goto err_cleanup; } #define DO_EXIT_1(x, y) { fprintf(stderr, x, y); goto err_cleanup; } #define DO_EXIT_2(x, y, z) { fprintf(stderr, x, y, z); goto err_cleanup; }