]> arthur.barton.de Git - ngircd-alex.git/commit
GnuTLS: use 1024 (DH_BITS_MIN) as minimum size of the DH prime
authorAlexander Barton <alex@barton.de>
Tue, 28 Jun 2011 11:48:33 +0000 (13:48 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 28 Jun 2011 11:48:33 +0000 (13:48 +0200)
commit2d35731399890316610e85d7a7aea41529b1fea9
tree92c92797710c8810f0e41becccf0e684bfc7a749
parent7ae7ace579915dc023722f733f30e941d371cab3
GnuTLS: use 1024 (DH_BITS_MIN) as minimum size of the DH prime

For outgoing connections, we use 2048 (DH_BITS) since commit 49b2d0e.

This patch enables ngIRCd to accept incoming connections from other servers
and clients that use at least 1024 bits (and no longer requires 2048 for
incoming connections, too).

Patch proposed by Florian Westphal.
src/ngircd/conn-ssl.c