aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg/t-signers.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-02-17 17:26:20 +0000
committerWerner Koch <[email protected]>2004-02-17 17:26:20 +0000
commit91d3e5aa57bd9a75e77ddbd4753897b6a372c323 (patch)
treec15ce77f929f69dcbb165711bdf206ac20a73426 /tests/gpg/t-signers.c
parent* gpgme.texi (Key Listing Mode): Doc KEYLIST_MODE_VALIDATE. (diff)
downloadgpgme-91d3e5aa57bd9a75e77ddbd4753897b6a372c323.tar.gz
gpgme-91d3e5aa57bd9a75e77ddbd4753897b6a372c323.zip
* gpgsm/t-import.c (check_result): gpgsm does now return info in
the result->imports; adjust for that. * gpgsm/Makefile.am (TESTS_ENVIRONMENT): Reset the GPG_AGENT_INFO. * gpg/t-keylist-sig.c (main): s/class/sig_class/. * gpg/t-signers.c (check_result): Ditto. * gpg/t-sign.c (check_result): Ditto. * gpg/t-encrypt-sign.c (check_result): Ditto. * gpgsm/t-sign.c (check_result): Ditto.
Diffstat (limited to 'tests/gpg/t-signers.c')
-rw-r--r--tests/gpg/t-signers.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/gpg/t-signers.c b/tests/gpg/t-signers.c
index f8288b49..199942ed 100644
--- a/tests/gpg/t-signers.c
+++ b/tests/gpg/t-signers.c
@@ -18,6 +18,12 @@
along with GPGME; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+/* We need to include config.h so that we know whether we are building
+ with large file system (LFS) support. */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -66,10 +72,10 @@ check_result (gpgme_sign_result_t result, gpgme_sig_mode_t type)
signature->hash_algo);
exit (1);
}
- if (signature->class != 1)
+ if (signature->sig_class != 1)
{
fprintf (stderr, "Wrong signature class reported: %u\n",
- signature->class);
+ signature->sig_class);
exit (1);
}
if (strcmp ("A0FF4590BB6122EDEF6E3C542D727CC768697734",