]> arthur.barton.de Git - ngircd.git/commit
GNUTLS: define new API types when installed library is too old
authorAlexander Barton <alex@barton.de>
Tue, 11 Nov 2008 21:03:11 +0000 (22:03 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 11 Nov 2008 21:03:11 +0000 (22:03 +0100)
commit3a5b7b63ae493aeff7b6ec85ebbfbc39202d0bc4
treeac5ded7c18b47cc616d212e3e3a8b1eeb022ff6b
parent9308541e6df05d141ea51125877239e01ee5a1f5
GNUTLS: define new API types when installed library is too old

This patch enables ngIRCd to use GNUTLS in really old versions, tested
with version 1.0.16, that don't define the "new" data types ending in
xxx_t. LIBGNUTLS_VERSION_MAJOR isn't defined there as well, so we use
it to test if we must define the new types on our own.
src/ngircd/conf-ssl.h