aboutsummaryrefslogtreecommitdiffstats
path: root/agent/pkdecrypt.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2003-06-04 21:37:56 +0000
committerMarcus Brinkmann <[email protected]>2003-06-04 21:37:56 +0000
commita58ce94d8ef56ef13e33d4171141eb3e6c43bdc6 (patch)
tree6744a58aca08fc2d5da0ac6a145a970b587dc1bd /agent/pkdecrypt.c
parentInadvertently left out of the 2003-06-01 checkin (diff)
downloadgnupg-a58ce94d8ef56ef13e33d4171141eb3e6c43bdc6.tar.gz
gnupg-a58ce94d8ef56ef13e33d4171141eb3e6c43bdc6.zip
Update error handling to match gpg-error in CVS.
Diffstat (limited to 'agent/pkdecrypt.c')
-rw-r--r--agent/pkdecrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/pkdecrypt.c b/agent/pkdecrypt.c
index 0bc3580ce..baa886556 100644
--- a/agent/pkdecrypt.c
+++ b/agent/pkdecrypt.c
@@ -77,7 +77,7 @@ agent_pkdecrypt (CTRL ctrl, const char *ciphertext, size_t ciphertextlen,
if (!gcry_sexp_canon_len (ciphertext, ciphertextlen, NULL, NULL))
{
- rc = gpg_error (GPG_ERR_INVALID_SEXP);
+ rc = gpg_error (GPG_ERR_INV_SEXP);
goto leave;
}