2003-08-14 Marcus Brinkmann <marcus@g10code.de>

* 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.
This commit is contained in:
Marcus Brinkmann 2003-09-02 22:00:37 +00:00
parent 58616ade03
commit 5231aa6a2a
4 changed files with 6 additions and 3 deletions

View File

@ -2,6 +2,9 @@
* gpg/t-sign.c (check_result): Change output format for signature * gpg/t-sign.c (check_result): Change output format for signature
class to unsigned int. 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 <marcus@g10code.de> 2003-07-31 Marcus Brinkmann <marcus@g10code.de>

View File

@ -61,7 +61,7 @@ check_result (gpgme_sign_result_t result, gpgme_sig_mode_t type)
} }
if (result->signatures->class != 0) if (result->signatures->class != 0)
{ {
fprintf (stderr, "Wrong signature class reported: %lu\n", fprintf (stderr, "Wrong signature class reported: %u\n",
result->signatures->class); result->signatures->class);
exit (1); exit (1);
} }

View File

@ -68,7 +68,7 @@ check_result (gpgme_sign_result_t result, gpgme_sig_mode_t type)
} }
if (signature->class != 1) if (signature->class != 1)
{ {
fprintf (stderr, "Wrong signature class reported: %lu\n", fprintf (stderr, "Wrong signature class reported: %u\n",
signature->class); signature->class);
exit (1); exit (1);
} }

View File

@ -59,7 +59,7 @@ check_result (gpgme_sign_result_t result, gpgme_sig_mode_t type)
} }
if (result->signatures->class != 0) if (result->signatures->class != 0)
{ {
fprintf (stderr, "Wrong signature class reported: %lu\n", fprintf (stderr, "Wrong signature class reported: %u\n",
result->signatures->class); result->signatures->class);
exit (1); exit (1);
} }