gpg: Allow building with older libgpg-error.
authorWerner Koch <wk@gnupg.org>
Fri, 8 Jun 2018 20:01:10 +0000 (22:01 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 8 Jun 2018 20:01:10 +0000 (22:01 +0200)
commit18274db32b5dea7fe8db67043a787578c975de4d
tree31349df9176006f67cb5b218e3bba3a1f07c53af
parente9667dd20a3a71c0a51d20ac4b1aa758e5bb5ada
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>
g10/mainproc.c