From 694e2a80417da734355c46c8778e25d05f6cb2ce Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Thu, 14 Aug 2003 17:32:18 +0000 Subject: doc/ 2003-08-14 Marcus Brinkmann * gpgme.texi (Creating a Signature): Change type of member class to unsigned int. gpgme/ 2003-08-14 Marcus Brinkmann * gpgme.h (struct _gpgme_new_signature): Rename member CLASS to _OBSOLETE_CLASS, add member CLASS with type unsigned int. * sign.c (parse_sig_created): Also set SIG->_unused_class for backward compatibility. tests/ 2003-08-14 Marcus Brinkmann * gpg/t-sign.c (check_result): Change output format for signature class to unsigned int. --- tests/ChangeLog | 5 +++++ tests/gpg/t-sign.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/ChangeLog b/tests/ChangeLog index 99a0a459..2be0e0a1 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2003-08-14 Marcus Brinkmann + + * gpg/t-sign.c (check_result): Change output format for signature + class to unsigned int. + 2003-07-31 Marcus Brinkmann * gpg/t-verify.c (check_result): Change type of SUMMARY to diff --git a/tests/gpg/t-sign.c b/tests/gpg/t-sign.c index 85b94a7e..78e590b9 100644 --- a/tests/gpg/t-sign.c +++ b/tests/gpg/t-sign.c @@ -61,7 +61,7 @@ check_result (gpgme_sign_result_t result, gpgme_sig_mode_t type) } if (result->signatures->class != 1) { - fprintf (stderr, "Wrong signature class reported: %lu\n", + fprintf (stderr, "Wrong signature class reported: %u\n", result->signatures->class); exit (1); } -- cgit v1.2.3