]> git.eshelyaron.com Git - emacs.git/commit
Fix crashes on MS-Windows when using GnuTLS connections
authorEli Zaretskii <eliz@gnu.org>
Tue, 27 Aug 2019 15:47:24 +0000 (18:47 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 27 Aug 2019 15:47:24 +0000 (18:47 +0300)
commit6769b649286fbf0f29cb20590eb17011b435d429
treedb1a68248d672c901c098143e8b0ee95e2370cee
parente4d17d8cb479ffeeb7dfb7320a1432722ac8df75
Fix crashes on MS-Windows when using GnuTLS connections

* src/gnutls.c (init_gnutls_functions) [WINDOWSNT]: Define and
load gnutls_free by an explicit call to GetProcAddress.
(gnutls_free) [WINDOWSNT]: Define as a macro that dereferences
a function pointer.  (Bug#31946)
(Fgnutls_format_certificate): Use make_string_from_bytes
instead of going through an intermediate malloc'ed buffer.
src/gnutls.c