diff options
Diffstat (limited to 'g10/keyserver.c')
-rw-r--r-- | g10/keyserver.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/keyserver.c b/g10/keyserver.c index bf1bf6cdc..125872e1c 100644 --- a/g10/keyserver.c +++ b/g10/keyserver.c @@ -941,7 +941,11 @@ direct_uri_map(const char *scheme,unsigned int is_direct) return 0; } +#if GNUPG_MAJOR_VERSION == 2 +#define GPGKEYS_PREFIX "gpg2keys_" +#else #define GPGKEYS_PREFIX "gpgkeys_" +#endif #define GPGKEYS_CURL GPGKEYS_PREFIX "curl" EXEEXT #define GPGKEYS_PREFIX_LEN (strlen(GPGKEYS_CURL)) #define KEYSERVER_ARGS_KEEP " -o \"%O\" \"%I\"" |