mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Added qualified signature features.
This commit is contained in:
parent
caed7370e9
commit
b9633196f4
12 changed files with 535 additions and 9 deletions
10
sm/verify.c
10
sm/verify.c
|
@ -179,8 +179,14 @@ gpgsm_verify (CTRL ctrl, int in_fd, int data_fd, FILE *out_fp)
|
|||
{
|
||||
algo = gcry_md_map_name (algoid);
|
||||
if (!algo)
|
||||
log_error ("unknown hash algorithm `%s'\n",
|
||||
algoid? algoid:"?");
|
||||
{
|
||||
log_error ("unknown hash algorithm `%s'\n",
|
||||
algoid? algoid:"?");
|
||||
if (algoid
|
||||
&& ( !strcmp (algoid, "1.2.840.113549.1.1.2")
|
||||
||!strcmp (algoid, "1.2.840.113549.2.2")))
|
||||
log_info (_("(this is the MD2 algorithm)\n"));
|
||||
}
|
||||
else
|
||||
gcry_md_enable (data_md, algo);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue