Update to gnupg-2.2.40

ChangeLog: https://dev.gnupg.org/T6181

Test report from op@, thanks!
This commit is contained in:
jca 2022-10-19 15:59:21 +00:00
parent 0da0f0813c
commit d33aed3a4d
3 changed files with 20 additions and 3 deletions

View File

@ -2,7 +2,7 @@ PORTROACH = limitw:1,even
COMMENT = GNU privacy guard - a free PGP replacement
DISTNAME = gnupg-2.2.39
DISTNAME = gnupg-2.2.40
CATEGORIES = security

View File

@ -1,2 +1,2 @@
SHA256 (gnupg-2.2.39.tar.bz2) = q3TbZoXwJtfAoQtSfs3ezWCGBqFpHRX9pdCn99J+TC8=
SIZE (gnupg-2.2.39.tar.bz2) = 7290098
SHA256 (gnupg-2.2.40.tar.bz2) = EWSymnXoq5PqFQMzABSeGHKn72vdo9fHgimnNfggTCg=
SIZE (gnupg-2.2.40.tar.bz2) = 7301631

View File

@ -0,0 +1,17 @@
dirmngr: Fix build with no LDAP support.
https://dev.gnupg.org/rGa5c3821664886ffffbe6a83aac088a6e0088a607
Index: dirmngr/server.c
--- dirmngr/server.c.orig
+++ dirmngr/server.c
@@ -3135,8 +3135,10 @@ start_command_handler (assuan_fd_t fd, unsigned int se
ctrl->refcount);
else
{
+#if USE_LDAP
ks_ldap_free_state (ctrl->ks_get_state);
ctrl->ks_get_state = NULL;
+#endif
release_ctrl_ocsp_certs (ctrl);
xfree (ctrl->server_local);
dirmngr_deinit_default_ctrl (ctrl);