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
|
@ -168,6 +168,10 @@ gpgsm_check_cert_sig (ksba_cert_t issuer_cert, ksba_cert_t cert)
|
|||
if (!algo)
|
||||
{
|
||||
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"));
|
||||
return gpg_error (GPG_ERR_GENERAL);
|
||||
}
|
||||
rc = gcry_md_open (&md, algo, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue