diff options
| author | Werner Koch <[email protected]> | 2006-05-23 16:19:43 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2006-05-23 16:19:43 +0000 |
| commit | fbe4ac37f6d3e7870e26caffb0d21c3c77198297 (patch) | |
| tree | f21028be87bda6df4f2f1e3ae105feeb5a2eb158 /g10/card-util.c | |
| parent | 2006-05-19 Marcus Brinkmann <[email protected]> (diff) | |
| download | gnupg-fbe4ac37f6d3e7870e26caffb0d21c3c77198297.tar.gz gnupg-fbe4ac37f6d3e7870e26caffb0d21c3c77198297.zip | |
g10/ does build again.
Diffstat (limited to 'g10/card-util.c')
| -rw-r--r-- | g10/card-util.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/g10/card-util.c b/g10/card-util.c index 0c8365405..b5a036e54 100644 --- a/g10/card-util.c +++ b/g10/card-util.c @@ -27,7 +27,7 @@ #include <assert.h> #if GNUPG_MAJOR_VERSION != 1 -#include "gpg.h" +# include "gpg.h" #endif /*GNUPG_MAJOR_VERSION != 1*/ #include "util.h" #include "i18n.h" @@ -37,13 +37,13 @@ #include "main.h" #include "keyserver-internal.h" #if GNUPG_MAJOR_VERSION == 1 -#ifdef HAVE_LIBREADLINE -#include <stdio.h> -#include <readline/readline.h> -#endif /*HAVE_LIBREADLINE*/ -#include "cardglue.h" +# ifdef HAVE_LIBREADLINE +# include <stdio.h> +# include <readline/readline.h> +# endif /*HAVE_LIBREADLINE*/ +# include "cardglue.h" #else /*GNUPG_MAJOR_VERSION!=1*/ -#include "call-agent.h" +# include "call-agent.h" #endif /*GNUPG_MAJOR_VERSION!=1*/ #define CONTROL_D ('D' - 'A' + 1) @@ -1091,12 +1091,8 @@ generate_card_keys (const char *serialno) if (check_pin_for_key_operation (&info, &forced_chv1)) goto leave; -#if GNUPG_MAJOR_VERSION == 1 generate_keypair (NULL, info.serialno, want_backup? opt.homedir:NULL); -#else - generate_keypair (NULL, info.serialno); -#endif leave: agent_release_card_info (&info); |
