aboutsummaryrefslogtreecommitdiffstats
path: root/g10/compress.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-01-22 11:06:11 +0000
committerWerner Koch <[email protected]>2015-01-22 11:06:11 +0000
commit11142e0ad7bc9a9e3c3dccf958d8dbd3312cb993 (patch)
tree0dd1a333374407a96a3258b4cb46a5e634e683ae /g10/compress.c
parentgpg: Remove an unused variable. (diff)
downloadgnupg-11142e0ad7bc9a9e3c3dccf958d8dbd3312cb993.tar.gz
gnupg-11142e0ad7bc9a9e3c3dccf958d8dbd3312cb993.zip
gpg: Replace remaining old error code macros by GPG_ERR_.
* g10/gpg.h (g10_errstr): Remove macro and change all occurrences by gpg_strerror. (G10ERR_): Remove all macros and change all occurrences by their GPG_ERR_ counterparts. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/compress.c')
-rw-r--r--g10/compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/compress.c b/g10/compress.c
index 0a6e09d46..8047dbbb4 100644
--- a/g10/compress.c
+++ b/g10/compress.c
@@ -310,7 +310,7 @@ handle_compressed (ctrl_t ctrl, void *procctx, PKT_compressed *cd,
int rc;
if(check_compress_algo(cd->algorithm))
- return G10ERR_COMPR_ALGO;
+ return GPG_ERR_COMPR_ALGO;
cfx = xmalloc_clear (sizeof *cfx);
cfx->release = release_context;
cfx->algo = cd->algorithm;