[git] GnuPG - branch, master, updated. gnupg-2.1.15-344-g088d955

by Werner Koch cvs at cvs.gnupg.org
Thu Nov 10 12:21:43 CET 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  088d955bd8a6ec8bbf76c8a4c01eb08499d1d9fa (commit)
      from  c7ea98cd3d44abf00e32c081e5049ad1d0b1f12c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 088d955bd8a6ec8bbf76c8a4c01eb08499d1d9fa
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Nov 10 12:18:33 2016 +0100

    gpg: Improve error message for --quick-gen-key.
    
    * g10/keygen.c (parse_algo_usage_expire): Use a different error
    message for an unknown algorithm name.
    --
    
    GnuPG-bug-id: 2832
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/g10/keygen.c b/g10/keygen.c
index e3cf818..b424c98 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -4532,7 +4532,7 @@ parse_algo_usage_expire (ctrl_t ctrl, int for_subkey,
         use = PUBKEY_USAGE_ENC;
     }
   else
-    return gpg_error (GPG_ERR_INV_CURVE);
+    return gpg_error (GPG_ERR_UNKNOWN_CURVE);
 
   /* Parse the usage string.  */
   if (!usagestr || !*usagestr

-----------------------------------------------------------------------

Summary of changes:
 g10/keygen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list