mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
agent: Improve error handling.
* agent/pksign.c (agent_pksign_do): Improve error handling. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
b78fce3271
commit
25f0f053cd
@ -505,7 +505,8 @@ agent_pksign_do (ctrl_t ctrl, const char *cache_nonce,
|
||||
ctrl->digest.raw_value);
|
||||
}
|
||||
|
||||
rc = gcry_pk_verify (s_sig, s_hash, s_pkey? s_pkey: s_skey);
|
||||
if (! rc)
|
||||
rc = gcry_pk_verify (s_sig, s_hash, s_pkey? s_pkey: s_skey);
|
||||
|
||||
if (rc)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user