diff options
author | Werner Koch <[email protected]> | 2007-06-06 18:12:30 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2007-06-06 18:12:30 +0000 |
commit | 2c9791db555cc571eaedfa71444da05454bd052a (patch) | |
tree | 9566d22f85e562e0c7b35dacc1697c9a58fcff1a /sm/certdump.c | |
parent | Print passphrase encoding info only in PEM mode. (diff) | |
download | gnupg-2c9791db555cc571eaedfa71444da05454bd052a.tar.gz gnupg-2c9791db555cc571eaedfa71444da05454bd052a.zip |
First steps towards supporting W32.
This is mainly source code reorganization.
Update gnulib.
g10/ does currently not build.
Diffstat (limited to 'sm/certdump.c')
-rw-r--r-- | sm/certdump.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sm/certdump.c b/sm/certdump.c index f5fff38c4..743b4dd41 100644 --- a/sm/certdump.c +++ b/sm/certdump.c @@ -735,6 +735,7 @@ gpgsm_es_print_name (estream_t fp, const char *name) +#if defined (HAVE_FOPENCOOKIE) || defined (HAVE_FUNOPEN) /* A cookie structure used for the memory stream. */ struct format_name_cookie { @@ -769,6 +770,8 @@ format_name_writer (void *cookie, const char *buffer, size_t size) return size; } +#endif /*HAVE_FOPENCOOKIE || HAVE_FUNOPEN*/ + /* Format NAME which is expected to be in rfc2253 format into a better human readable format. Caller must free the returned string. NULL @@ -890,7 +893,9 @@ gpgsm_format_keydesc (ksba_cert_t cert) char created[20]; char *sn; ksba_sexp_t sexp; +#ifdef ENABLE_NLS char *orig_codeset = NULL; +#endif name = ksba_cert_get_subject (cert, 0); subject = name? gpgsm_format_name2 (name, 0) : NULL; |