1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-04-17 15:44:34 +02:00

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 <wk@gnupg.org>
This commit is contained in:
Werner Koch 2018-06-08 22:01:10 +02:00
parent e9667dd20a
commit 18274db32b
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -683,7 +683,7 @@ proc_encrypted (CTX c, PACKET *pkt)
* are rare in practice we print a hint on how to decrypt * are rare in practice we print a hint on how to decrypt
* such messages. */ * such messages. */
log_string log_string
(GPGRT_LOGLVL_INFO, (GPGRT_LOG_INFO,
_("Hint: If this message was created before the year 2003 it is\n" _("Hint: If this message was created before the year 2003 it is\n"
"likely that this message is legitimate. This is because back\n" "likely that this message is legitimate. This is because back\n"
"then integrity protection was not widely used.\n")); "then integrity protection was not widely used.\n"));