aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpgsm/t-import.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2001-12-14 15:35:29 +0000
committerMarcus Brinkmann <[email protected]>2001-12-14 15:35:29 +0000
commita54c0a05b5ba239e06444e55b2a4c2bd87c761ce (patch)
tree2c69162db342ab59c8229493f6de38bbe12d2313 /tests/gpgsm/t-import.c
parent2001-12-14 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-a54c0a05b5ba239e06444e55b2a4c2bd87c761ce.tar.gz
gpgme-a54c0a05b5ba239e06444e55b2a4c2bd87c761ce.zip
2001-12-14 Marcus Brinkmann <[email protected]>
* configure.ac (GPG): Substitute this variable. (GPGSM): Likewise. tests/ CVS2001-12-14 Marcus Brinkmann <[email protected]> * gpg/Makefile.am (GPG): Set to @GPG_PATH@. (./pubring.gpg): Use $(GPG) instead gpg. (./secring.gpg): Likewise. * gpgsm/t-import.c (main): Remove third test case. * gpgsm/Makefile.am (GPGSM): Set to @GPGSM@. (all-local): New target. (./pubcerts.kbx): Likewise. * gpgsm/t-encrypt.c: New file. * gpgsm/Makefile.am (TESTS): Add t-encrypt.
Diffstat (limited to 'tests/gpgsm/t-import.c')
-rw-r--r--tests/gpgsm/t-import.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/gpgsm/t-import.c b/tests/gpgsm/t-import.c
index b0f8c360..f62ff003 100644
--- a/tests/gpgsm/t-import.c
+++ b/tests/gpgsm/t-import.c
@@ -65,7 +65,6 @@ main (int argc, char **argv)
GpgmeData in;
const char *cert_1 = make_filename ("cert_dfn_pca01.der");
const char *cert_2 = make_filename ("cert_dfn_pca15.der");
- const char *cert_3 = make_filename ("cert_g10code_test1.der");
do
{
@@ -88,14 +87,6 @@ main (int argc, char **argv)
fail_if_err (err);
gpgme_data_release (in);
-
- err = gpgme_data_new_from_file (&in, cert_3, 1);
- fail_if_err (err);
-
- err = gpgme_op_import (ctx, in);
- fail_if_err (err);
-
- gpgme_data_release (in);
gpgme_release (ctx);
}
while (argc > 1 && !strcmp (argv[1], "--loop"));