]> arthur.barton.de Git - ngircd.git/commit
Correctly detect when SSL subsystem must be initialized
authorAlexander Barton <alex@barton.de>
Mon, 7 Jan 2013 17:42:57 +0000 (18:42 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 13 Feb 2013 21:11:05 +0000 (22:11 +0100)
commit4105635566b3b2d8bd56f0ce1e556d5c3642f319
tree1cd5b18f85687e57541037a71fe6cbf6273c7d7a
parent90fce2ed16fbfd5e6e37acfae997d756b426a347
Correctly detect when SSL subsystem must be initialized

This patch introduces the new function Conf_SSLInUse() to check when the
current server configuration requires the SSL subsystem to be initialized
and accounts incoming as well as outgoing connections -- so this fixes
commit bb20aeb9 ("Initialize SSL when needed only, and disable SSL on
errors") which only handled the inbound case  ...

Tested-by: Brett Smith <brett@w3.org>
(cherry picked from commit ab009976984ede815c31c9a6b318c80006823b81)
src/ngircd/conf.c
src/ngircd/conf.h
src/ngircd/conn-ssl.c