]> git.eshelyaron.com Git - emacs.git/commit
Fix build with gnutls versions 3.0 to 3.2 (Bug#32446)
authorNoam Postavsky <npostavs@gmail.com>
Sat, 15 Sep 2018 14:25:11 +0000 (10:25 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Mon, 17 Sep 2018 21:54:32 +0000 (17:54 -0400)
commitb5bee6bf489d8c54a5e39baed4d578ada54c99bf
treee17d16a6174028d33cb0b8b706b4eef77ae96032
parent67eb80e0bf099e8075f31da3a3d22b5568786bfa
Fix build with gnutls versions 3.0 to 3.2 (Bug#32446)

We previously used functions available only in 3.2+ for all 3.x
versions.
* src/gnutls.c [GNUTLS_VERSION_NUMBER < 0x030501]: Replace calls to
gnutls_cipher_get_tag_size with 0.
[GNUTLS_VERSION_NUMBER < 0x030200]: Alias gnutls_cipher_get_iv_size
to gnutls_cipher_get_block_size, gnutls_digest_list to
gnutls_mac_list, and gnutls_digest_get_name to gnutls_mac_get_name.
[WINDOWSNT]: Adjust DLL function definitions and declarations
accordingly.
src/gnutls.c