aboutsummaryrefslogtreecommitdiffstats
path: root/sm/verify.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-04-14 13:46:04 +0000
committerWerner Koch <[email protected]>2020-04-14 13:46:04 +0000
commit6c28d9343ea6df9cda1b69e77751a9e958eb3d70 (patch)
treeca46091a945e5b681289815f56193549f0ab3b75 /sm/verify.c
parentdirmngr: Support rsaPSS also in the general validate module. (diff)
downloadgnupg-6c28d9343ea6df9cda1b69e77751a9e958eb3d70.tar.gz
gnupg-6c28d9343ea6df9cda1b69e77751a9e958eb3d70.zip
sm: Support rsaPSS verification also for CMS signatures.
* sm/certcheck.c (gpgsm_check_cert_sig): Factor PSS parsing out to ... (extract_pss_params): new. (gpgsm_check_cms_signature): Implement PSS. -- GnuPG-bug-id: 4538
Diffstat (limited to 'sm/verify.c')
-rw-r--r--sm/verify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sm/verify.c b/sm/verify.c
index b7b9fa8be..6d2f11055 100644
--- a/sm/verify.c
+++ b/sm/verify.c
@@ -412,8 +412,8 @@ gpgsm_verify (ctrl_t ctrl, int in_fd, int data_fd, estream_t out_fp)
{
log_debug ("signer %d - signature available (sigval hash=%d)",
signer, sigval_hash_algo);
-/* log_printhex ("sigval ", sigval, */
-/* gcry_sexp_canon_len (sigval, 0, NULL, NULL)); */
+ /*log_printhex(sigval, gcry_sexp_canon_len (sigval, 0, NULL, NULL),*/
+ /* "sigval "); */
}
if (!sigval_hash_algo)
sigval_hash_algo = algo; /* Fallback used e.g. with old libksba. */