mirror of
git://git.gnupg.org/gnupg.git
synced 2025-06-13 18:21:03 +02:00
scd: Fix detecting digest OID in the message to be signed.
* scd/app-openpgp.c (do_auth): Don't exclude Ed25519 for removing digest OID. -- GnuPG-bug-id: 7589 Fixes-commit: 3132bd90dc8db9c7fd19ba201918e95891306dc5 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
2436afa057
commit
eb7d5d4d85
@ -5641,8 +5641,7 @@ do_auth (app_t app, ctrl_t ctrl, const char *keyidstr,
|
||||
|
||||
if (app->app_local->keyattr[2].key_type == KEY_TYPE_ECC)
|
||||
{
|
||||
if (!(app->app_local->keyattr[2].ecc.flags & ECC_FLAG_DJB_TWEAK)
|
||||
&& (indatalen == 51 || indatalen == 67 || indatalen == 83))
|
||||
if (indatalen == 51 || indatalen == 67 || indatalen == 83)
|
||||
{
|
||||
const char *p = (const char *)indata + 19;
|
||||
indata = p;
|
||||
|
Loading…
x
Reference in New Issue
Block a user