diff options
author | Werner Koch <[email protected]> | 2015-01-22 11:06:11 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-01-22 11:06:11 +0000 |
commit | 11142e0ad7bc9a9e3c3dccf958d8dbd3312cb993 (patch) | |
tree | 0dd1a333374407a96a3258b4cb46a5e634e683ae /g10/decrypt.c | |
parent | gpg: Remove an unused variable. (diff) | |
download | gnupg-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/decrypt.c')
-rw-r--r-- | g10/decrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/decrypt.c b/g10/decrypt.c index b0240f571..fe6fd6389 100644 --- a/g10/decrypt.c +++ b/g10/decrypt.c @@ -263,7 +263,7 @@ decrypt_messages (ctrl_t ctrl, int nfiles, char *files[]) iobuf_close(fp); if (rc) log_error("%s: decryption failed: %s\n", print_fname_stdin(filename), - g10_errstr(rc)); + gpg_strerror (rc)); p = get_last_passphrase(); set_next_passphrase(p); xfree (p); |