]> git.eshelyaron.com Git - emacs.git/commit
Fix the MS-Windows build due to added GnuTLS functions
authorEli Zaretskii <eliz@gnu.org>
Fri, 14 Jul 2017 19:00:55 +0000 (22:00 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 14 Jul 2017 19:00:55 +0000 (22:00 +0300)
commit389fb2aebf01fb786e5b18ab87953c90c15279ff
tree174b3b1878e0ad4f04188dd92d1cd73eae5c3a4f
parent548941bbd8a0a02fe58ba34875468e208c08c891
Fix the MS-Windows build due to added GnuTLS functions

* src/gnutls.c [WINDOWSNT]: Add DEF_DLL_FN for new functions.
(init_gnutls_functions) [WINDOWSNT]: Add LOAD_DLL_FN for new
functions.  Add #define redirections for new functions.
(gnutls_symmetric_aead): Fix format specs to be more portable when
printing ptrdiff_t arguments.
* src/fns.c (gnutls_rnd) [WINDOWSNT]: Redirect to w32_gnutls_rnd
wrapper.
* src/gnutls.h [WINDOWSNT]: Add prototype for w32_gnutls_rnd.

* test/lisp/net/gnutls-tests.el (gnutls-tests-tested-macs)
(gnutls-tests-tested-digests, gnutls-tests-tested-ciphers): Call
gnutls-available-p, otherwise GnuTLS functions might not be loaded
from the DLL on MS-Windows.
src/fns.c
src/gnutls.c
src/gnutls.h
test/lisp/net/gnutls-tests.el