Home GnuPG
Diffusion GnuPG d7a54ca461ad

sm: Prepare algo mapping to handle values > 255.

Description

sm: Prepare algo mapping to handle values > 255.

* sm/misc.c (transform_sigval): Allow for larger values of MDALGO and
PKALGO.

Libgcrypt already defines larger values for them, so we should be
prepared in case we use them in the future.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 21 2019, 8:51 AM
Parents
rG2013cb5ee667: scd: Clear CHV status on timeout error.
Branches
Unknown
Tags
Unknown