diff options
| author | Marcus Brinkmann <[email protected]> | 2003-09-14 01:05:06 +0000 | 
|---|---|---|
| committer | Marcus Brinkmann <[email protected]> | 2003-09-14 01:05:06 +0000 | 
| commit | 38a0357afbd1a005efce142a2aacb77d485e55b7 (patch) | |
| tree | 6b0406d046ef10bf476de4eee5e6ad4b4e0f02ad /tests/gpgsm/t-keylist.c | |
| parent | Require libgpg-error 0.5. (diff) | |
| download | gpgme-38a0357afbd1a005efce142a2aacb77d485e55b7.tar.gz gpgme-38a0357afbd1a005efce142a2aacb77d485e55b7.zip | |
Include "t-support.h".
Diffstat (limited to 'tests/gpgsm/t-keylist.c')
| -rw-r--r-- | tests/gpgsm/t-keylist.c | 16 | 
1 files changed, 3 insertions, 13 deletions
| diff --git a/tests/gpgsm/t-keylist.c b/tests/gpgsm/t-keylist.c index b0249d12..cf4073fc 100644 --- a/tests/gpgsm/t-keylist.c +++ b/tests/gpgsm/t-keylist.c @@ -24,20 +24,9 @@  #include <gpgme.h> - -#define fail_if_err(err)					\ -  do								\ -    {								\ -      if (err)							\ -        {							\ -          fprintf (stderr, "%s:%d: gpgme_error_t %s\n",		\ -                   __FILE__, __LINE__, gpgme_strerror (err));   \ -          exit (1);						\ -        }							\ -    }								\ -  while (0) - +#include "t-support.h" +  struct  {    char *fpr; @@ -73,6 +62,7 @@ keys[] =      { NULL }    }; +  int   main (int argc, char **argv)  { | 
