aboutsummaryrefslogtreecommitdiffstats
path: root/tests/run-export.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/run-export.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/run-export.c')
-rw-r--r--tests/run-export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-export.c b/tests/run-export.c
index 8dddb5bc..b70ed91c 100644
--- a/tests/run-export.c
+++ b/tests/run-export.c
@@ -117,7 +117,7 @@ main (int argc, char **argv)
gpgme_key_unref (key);
}
}
- if (gpg_err_code (err) != GPG_ERR_EOF)
+ if (gpgme_err_code (err) != GPG_ERR_EOF)
fail_if_err (err);
err = gpgme_op_keylist_end (ctx);
fail_if_err (err);