[Pkg-gnupg-commit] [gnupg2] 149/292: g10: Fix card keygen for decryption.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Nov 21 06:31:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg2.

commit acef0951646b47c87ccc1c616f0105a068e7ed86
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Mon Oct 24 07:52:40 2016 +0900

    g10: Fix card keygen for decryption.
    
    * g10/keygen.c (do_generate_keypair): Fix arguments.
    
    --
    
    Reported-by: Grumpy
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
 g10/keygen.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/g10/keygen.c b/g10/keygen.c
index 61e070c..ed529c7 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -4344,8 +4344,8 @@ do_generate_keypair (ctrl_t ctrl, struct para_data_s *para,
         }
       else
         {
-          err = gen_card_key (2, 0, get_parameter_algo (para, pSUBKEYTYPE, NULL),
-                              pub_root, &timestamp,
+          err = gen_card_key (2, get_parameter_algo (para, pSUBKEYTYPE, NULL),
+                              0, pub_root, &timestamp,
                               get_parameter_u32 (para, pKEYEXPIRE));
         }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list