mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
scd: fix change_keyattr.
* scd/app-openpgp.c (change_keyattr_from_string): Fix parsing.
This commit is contained in:
parent
44ad9f29d4
commit
c5a9fedba6
@ -2794,7 +2794,7 @@ change_keyattr_from_string (app_t app,
|
||||
"--force" in the data to make clear that something serious might
|
||||
happen. */
|
||||
sscanf (string, "--force %d %d %n", &key, &algo, &n);
|
||||
if (n < 13)
|
||||
if (n < 12)
|
||||
{
|
||||
err = gpg_error (GPG_ERR_INV_DATA);
|
||||
goto leave;
|
||||
|
Loading…
x
Reference in New Issue
Block a user