mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
gpgsm: Make rsaPSS a compliant scheme in de-vs mode.
-- GnuPG-bug-id: 4538 Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
0a6af6dc12
commit
5fe3cdfc76
@ -149,10 +149,9 @@ gnupg_pk_is_compliant (enum gnupg_compliance_mode compliance, int algo,
|
|||||||
result = (keylength == 2048
|
result = (keylength == 2048
|
||||||
|| keylength == 3072
|
|| keylength == 3072
|
||||||
|| keylength == 4096);
|
|| keylength == 4096);
|
||||||
/* rsaPSS was not part of the evaluation and thus we don't
|
/* Although rsaPSS was not part of the original evaluation
|
||||||
* claim compliance. */
|
* we got word that we can claim compliance. */
|
||||||
if ((algo_flags & PK_ALGO_FLAG_RSAPSS))
|
(void)algo_flags;
|
||||||
result = 0;
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case is_dsa:
|
case is_dsa:
|
||||||
@ -234,10 +233,7 @@ gnupg_pk_is_allowed (enum gnupg_compliance_mode compliance,
|
|||||||
default:
|
default:
|
||||||
log_assert (!"reached");
|
log_assert (!"reached");
|
||||||
}
|
}
|
||||||
/* rsaPSS was not part of the evaluation and thus we don't
|
(void)algo_flags;
|
||||||
* claim compliance. */
|
|
||||||
if ((algo_flags & PK_ALGO_FLAG_RSAPSS))
|
|
||||||
result = 0;
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PUBKEY_ALGO_DSA:
|
case PUBKEY_ALGO_DSA:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user