From f6c8dd027d9d7643289903cd7ead499915e98418 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 2 Sep 2003 22:00:37 +0000 Subject: [PATCH] 2003-08-14 Marcus Brinkmann * gpg/t-sign.c (check_result): Change output format for signature class to unsigned int. * gpg/t-signers.c (check_result): Likewise. * gpg/t-encrypt-sign.c (check_result): Likewise. * gpgsm/t-sign.c (check_result): Likewise. --- trunk/tests/ChangeLog | 3 +++ trunk/tests/gpg/t-encrypt-sign.c | 2 +- trunk/tests/gpg/t-signers.c | 2 +- trunk/tests/gpgsm/t-sign.c | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/trunk/tests/ChangeLog b/trunk/tests/ChangeLog index 2be0e0a..0626751 100644 --- a/trunk/tests/ChangeLog +++ b/trunk/tests/ChangeLog @@ -2,6 +2,9 @@ * gpg/t-sign.c (check_result): Change output format for signature class to unsigned int. + * gpg/t-signers.c (check_result): Likewise. + * gpg/t-encrypt-sign.c (check_result): Likewise. + * gpgsm/t-sign.c (check_result): Likewise. 2003-07-31 Marcus Brinkmann diff --git a/trunk/tests/gpg/t-encrypt-sign.c b/trunk/tests/gpg/t-encrypt-sign.c index 96aebda..858a99c 100644 --- a/trunk/tests/gpg/t-encrypt-sign.c +++ b/trunk/tests/gpg/t-encrypt-sign.c @@ -61,7 +61,7 @@ check_result (gpgme_sign_result_t result, gpgme_sig_mode_t type) } if (result->signatures->class != 0) { - fprintf (stderr, "Wrong signature class reported: %lu\n", + fprintf (stderr, "Wrong signature class reported: %u\n", result->signatures->class); exit (1); } diff --git a/trunk/tests/gpg/t-signers.c b/trunk/tests/gpg/t-signers.c index 1f2e48f..d74d447 100644 --- a/trunk/tests/gpg/t-signers.c +++ b/trunk/tests/gpg/t-signers.c @@ -68,7 +68,7 @@ check_result (gpgme_sign_result_t result, gpgme_sig_mode_t type) } if (signature->class != 1) { - fprintf (stderr, "Wrong signature class reported: %lu\n", + fprintf (stderr, "Wrong signature class reported: %u\n", signature->class); exit (1); } diff --git a/trunk/tests/gpgsm/t-sign.c b/trunk/tests/gpgsm/t-sign.c index d346b9e..5fd6f06 100644 --- a/trunk/tests/gpgsm/t-sign.c +++ b/trunk/tests/gpgsm/t-sign.c @@ -59,7 +59,7 @@ check_result (gpgme_sign_result_t result, gpgme_sig_mode_t type) } if (result->signatures->class != 0) { - fprintf (stderr, "Wrong signature class reported: %lu\n", + fprintf (stderr, "Wrong signature class reported: %u\n", result->signatures->class); exit (1); } -- 2.26.2