Home GnuPG
Diffusion Scute cc91c168e4ae

Make C_Sign error handling spec compliant.

Description

Make C_Sign error handling spec compliant.

* src/slots.c (session_sign): Clear the flag sign-initialized flag on
error.
* src/p11-signinit.c (C_SignInit): Minor rework.
* src/p11-sign.c (C_Sign): Ditto.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 20 2019, 9:29 AM
Parents
rS5de05acba42c: Minor updates of the README files.
Branches
Unknown
Tags
Unknown