From 8270052e0f4a74977c82f1046acc590586286d95 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Thu, 25 Jul 2002 18:15:11 +0000 Subject: 2002-07-25 Marcus Brinkmann MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gpg/t-encrypt-sym.c (main): Change type of I to size_t and rename to LEN. * gpg/t-verify.c (main): Likewise. Submitted by St�phane Corth�sy. --- tests/gpg/t-verify.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests/gpg/t-verify.c') diff --git a/tests/gpg/t-verify.c b/tests/gpg/t-verify.c index 35d95581..13eca934 100644 --- a/tests/gpg/t-verify.c +++ b/tests/gpg/t-verify.c @@ -169,7 +169,8 @@ main (int argc, char **argv ) GpgmeSigStat status; char *nota; int n = 0; - int i, j; + size_t len; + int j; err = gpgme_new (&ctx); fail_if_err (err); @@ -227,8 +228,8 @@ main (int argc, char **argv ) err = gpgme_op_verify (ctx, sig, text, &status); fail_if_err (err); - nota = gpgme_data_release_and_get_mem (text, &i); - for (j = 0; j < i; j++) + nota = gpgme_data_release_and_get_mem (text, &len); + for (j = 0; j < len; j++) putchar (nota[j]); if (strncmp (nota, test_text1, strlen (test_text1))) { -- cgit v1.2.3