aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpgsm/cms-decrypt.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2012-02-08 14:26:17 +0000
committerMarcus Brinkmann <[email protected]>2012-02-08 14:26:17 +0000
commitdae3073aaa8b7feb1c844fdaf711f79141b9cc65 (patch)
tree5e298888803b5e9f6ba2656759bb76a6c27c6d5e /tests/gpgsm/cms-decrypt.c
parentLink the thread test to pthread. (diff)
downloadgpgme-dae3073aaa8b7feb1c844fdaf711f79141b9cc65.tar.gz
gpgme-dae3073aaa8b7feb1c844fdaf711f79141b9cc65.zip
Use gpgme interface for error handling to avoid linking with gpg-error.
* tests/t-data.c, tests/run-export.c, tests/run-keylist.c, tests/run-support.h, tests/run-verify.c, tests/gpg/t-decrypt-verify.c, tests/gpg/t-edit.c, tests/gpg/t-eventloop.c, tests/gpg/t-keylist-sig.c, tests/gpg/t-keylist.c, tests/gpg/t-support.h, tests/gpg/t-trustlist.c, tests/gpg/t-verify.c, tests/gpg/t-wait.c, tests/gpgsm/cms-decrypt.c, tests/gpgsm/cms-keylist.c, tests/gpgsm/t-keylist.c, tests/gpgsm/t-support.h, tests/gpgsm/t-verify.c, tests/opassuan/t-command.c: Use gpgme interface for gpg-error functions.
Diffstat (limited to 'tests/gpgsm/cms-decrypt.c')
-rw-r--r--tests/gpgsm/cms-decrypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gpgsm/cms-decrypt.c b/tests/gpgsm/cms-decrypt.c
index 767f87b5..580832d5 100644
--- a/tests/gpgsm/cms-decrypt.c
+++ b/tests/gpgsm/cms-decrypt.c
@@ -73,7 +73,7 @@ main (int argc, char **argv)
err = gpgme_op_decrypt (ctx, in, out);
printf ("gpgme_op_decrypt: %s <%s> (%u)\n",
- gpg_strerror (err), gpg_strsource (err), err);
+ gpgme_strerror (err), gpgme_strsource (err), err);
result = gpgme_op_decrypt_result (ctx);
if (!result)
{
@@ -88,7 +88,7 @@ main (int argc, char **argv)
for (recp = result->recipients; recp; recp = recp->next)
{
printf ("recipient.status: %s <%s> (%u)\n",
- gpg_strerror (recp->status), gpg_strsource (recp->status),
+ gpgme_strerror (recp->status), gpgme_strsource (recp->status),
recp->status);
printf ("recipient.pkalgo: %d\n", recp->pubkey_algo);
printf ("recipient.keyid : %s\n", nonnull (recp->keyid));