1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

gpg: Fix regression in the Revoker keyword of the parmeter file.

* g10/keygen.c (parse_revocation_key): Actually allow for v4
fingerprints.
--

Note that the use of the parameter file is deprecated.

GnuPG-bug-id: 6923
This commit is contained in:
Werner Koch 2024-01-11 09:08:54 +01:00
parent b7f45ee6ad
commit 8dfbad0c41
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
2 changed files with 5 additions and 4 deletions

View file

@ -4079,7 +4079,7 @@ parse_revocation_key (const char *fname,
pn++;
for(i=0;i<MAX_FINGERPRINT_LEN && *pn;i++,pn+=2)
for(i=0;i<MAX_FINGERPRINT_LEN && *pn && !spacep (pn);i++,pn+=2)
{
int c=hextobyte(pn);
if(c==-1)