aboutsummaryrefslogtreecommitdiffstats
path: root/common/t-openpgp-oid.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-01-22 09:06:15 +0000
committerWerner Koch <[email protected]>2019-01-22 09:08:06 +0000
commitf5d3b982e44c5cfc60e9936020102a598b635187 (patch)
treeec4a0a9d34da8e8e739b46c2fcde4ca472e7723d /common/t-openpgp-oid.c
parentscd: Fix for USB INTERRUPT transfer. (diff)
downloadgnupg-f5d3b982e44c5cfc60e9936020102a598b635187.tar.gz
gnupg-f5d3b982e44c5cfc60e9936020102a598b635187.zip
gpg: Stop early when trying to create a primary Elgamal key.
* g10/misc.c (openpgp_pk_test_algo2): Add extra check. -- The problem is that --key-gen --batch with a parameter file didn't detect that Elgamal is not capable of signing and so an error was only triggered at the time the self-signature was created. See the code comment for details. GnuPG-bug-id: 4329 Signed-off-by: Werner Koch <[email protected]> (cherry picked from commit f97dc55ff1b041071bc3cbe98aa761bf77bb7ac8)
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions