diff options
author | Werner Koch <[email protected]> | 2010-03-08 18:19:21 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-03-08 18:19:21 +0000 |
commit | 6216d33e8cc1c2d01533b3e9b97dc7009b4f3553 (patch) | |
tree | 062bf701637025088b83a9e8684aa7a1eae68fb5 /sm/certreqgen-ui.c | |
parent | Use macros for iobuf ioctls. (diff) | |
download | gnupg-6216d33e8cc1c2d01533b3e9b97dc7009b4f3553.tar.gz gnupg-6216d33e8cc1c2d01533b3e9b97dc7009b4f3553.zip |
Removed almost al dup calls.
Diffstat (limited to 'sm/certreqgen-ui.c')
-rw-r--r-- | sm/certreqgen-ui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sm/certreqgen-ui.c b/sm/certreqgen-ui.c index 3e98b660f..3dabb654e 100644 --- a/sm/certreqgen-ui.c +++ b/sm/certreqgen-ui.c @@ -1,5 +1,5 @@ /* certreqgen-ui.c - Simple user interface for certreqgen.c - * Copyright (C) 2007 Free Software Foundation, Inc. + * Copyright (C) 2007, 2010 Free Software Foundation, Inc. * * This file is part of GnuPG. * @@ -125,7 +125,7 @@ check_keygrip (ctrl_t ctrl, const char *hexgrip) and thus is not suitable for the Windows port. So here is the re-implementation. */ void -gpgsm_gencertreq_tty (ctrl_t ctrl, FILE *output_fp) +gpgsm_gencertreq_tty (ctrl_t ctrl, estream_t output_stream) { gpg_error_t err; char *answer; @@ -391,7 +391,7 @@ gpgsm_gencertreq_tty (ctrl_t ctrl, FILE *output_fp) { int save_pem = ctrl->create_pem; ctrl->create_pem = 1; /* Force creation of PEM. */ - err = gpgsm_genkey (ctrl, fp, output_fp); + err = gpgsm_genkey (ctrl, fp, output_stream); ctrl->create_pem = save_pem; } if (!err) |