1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-21 10:09:57 +01:00

Require gpgrt 1.51

* configure.ac (NEED_GPGRT_VERSION): Bump to 1.51.

* g10/keydb.c (internal_keydb_update_keyblock) [!USE_TOFU]: Mark an
arg unused.
* common/homedir.c (create_common_conf) [!BUILD_WITH_KEYBOXD]: Mark an
arg unused.
This commit is contained in:
Werner Koch 2024-12-04 11:04:41 +01:00
parent 7b0be541a9
commit c3bab200d9
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
3 changed files with 6 additions and 2 deletions

View File

@ -292,7 +292,9 @@ create_common_conf (const char *dname)
gpg_strerror (gpg_error_from_syserror ()));
}
}
#endif /* BUILD_WITH_KEYBOXD */
#else /* BUILD_WITH_KEYBOXD */
(void)dname;
#endif /* !BUILD_WITH_KEYBOXD */
}

View File

@ -57,7 +57,7 @@ AC_INIT([mym4_package],[mym4_version],[https://bugs.gnupg.org])
# As well as the source info for the man pages.
AC_DEFINE_UNQUOTED(GNUPG_SWDB_TAG, "gnupg26", [swdb tag for this branch])
NEED_GPGRT_VERSION=1.50
NEED_GPGRT_VERSION=1.51
NEED_LIBGCRYPT_API=1
NEED_LIBGCRYPT_VERSION=1.11.0

View File

@ -1422,6 +1422,8 @@ internal_keydb_update_keyblock (ctrl_t ctrl, KEYDB_HANDLE hd, kbnode_t kb)
#ifdef USE_TOFU
tofu_notice_key_changed (ctrl, kb);
#else
(void)ctrl;
#endif
memset (&desc, 0, sizeof (desc));