aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-06-08 20:01:10 +0000
committerWerner Koch <[email protected]>2018-06-08 20:01:10 +0000
commit18274db32b5dea7fe8db67043a787578c975de4d (patch)
tree31349df9176006f67cb5b218e3bba3a1f07c53af
parentPost release updates (diff)
downloadgnupg-18274db32b5dea7fe8db67043a787578c975de4d.tar.gz
gnupg-18274db32b5dea7fe8db67043a787578c975de4d.zip
gpg: Allow building with older libgpg-error.
* g10/mainproc.c (proc_encrypted): Use constant from logging.h -- Because the log levels are enums I had to change there names in libgpg-error to avoid clashes. Master uses the new names but 2.2 needs to stick to the old names. Fixes-commit: 825909e9cd5f344ece6c0b0ea3a9475df1d643de Signed-off-by: Werner Koch <[email protected]>
-rw-r--r--g10/mainproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c
index 72b0dd828..f5cc4532a 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -683,7 +683,7 @@ proc_encrypted (CTX c, PACKET *pkt)
* are rare in practice we print a hint on how to decrypt
* such messages. */
log_string
- (GPGRT_LOGLVL_INFO,
+ (GPGRT_LOG_INFO,
_("Hint: If this message was created before the year 2003 it is\n"
"likely that this message is legitimate. This is because back\n"
"then integrity protection was not widely used.\n"));