From 5231aa6a2a8bf0ffb97ca5cf3d2ab2e4817141b8 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. --- tests/ChangeLog | 3 +++ tests/gpg/t-encrypt-sign.c | 2 +- tests/gpg/t-signers.c | 2 +- tests/gpgsm/t-sign.c | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/ChangeLog b/tests/ChangeLog index 2be0e0a..0626751 100644 --- a/tests/ChangeLog +++ b/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/tests/gpg/t-encrypt-sign.c b/tests/gpg/t-encrypt-sign.c index 96aebda..858a99c 100644 --- a/tests/gpg/t-encrypt-sign.c +++ b/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/tests/gpg/t-signers.c b/tests/gpg/t-signers.c index 1f2e48f..d74d447 100644 --- a/tests/gpg/t-signers.c +++ b/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/tests/gpgsm/t-sign.c b/tests/gpgsm/t-sign.c index d346b9e..5fd6f06 100644 --- a/tests/gpgsm/t-sign.c +++ b/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