diff options
author | Werner Koch <[email protected]> | 2003-11-12 15:17:44 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2003-11-12 15:17:44 +0000 |
commit | dba40e5e45e80896dc8864c2ae97f026069e2906 (patch) | |
tree | 724a2e0f0f73ef66cf6284adb7e2463785874ffe /agent/pksign.c | |
parent | 2003-11-10 Moritz Schulte <[email protected]> (diff) | |
download | gnupg-dba40e5e45e80896dc8864c2ae97f026069e2906.tar.gz gnupg-dba40e5e45e80896dc8864c2ae97f026069e2906.zip |
Mainly changes to adjust for the changed KSBA API.
Diffstat (limited to 'agent/pksign.c')
-rw-r--r-- | agent/pksign.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/agent/pksign.c b/agent/pksign.c index 342582177..d5fe17bb7 100644 --- a/agent/pksign.c +++ b/agent/pksign.c @@ -39,7 +39,9 @@ do_encode_md (const byte * md, size_t mdlen, int algo, gcry_sexp_t * r_hash) char * p, tmp[16]; int i, rc; -#warning I do do like that stuff - libgcrypt provides easier interfaces. -wk +#ifdef __GNUC__ +#warning I do not like that stuff - libgcrypt provides easier interfaces. -wk +#endif /* FIXME: Either use the build function or create canonical encoded S-expressions. */ @@ -128,7 +130,6 @@ agent_pksign (CTRL ctrl, FILE *outfp, int ignore_cache) if (rc) { log_error ("signing failed: %s\n", gpg_strerror (rc)); - rc = map_gcry_err (rc); goto leave; } |