diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-01-03 17:30:27 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-01-03 17:30:27 +0000 |
commit | 7ca6809bfc2b8a733692361ea3cec8ea9912ca0e (patch) | |
tree | 87b1df12b624602a587bb34dd1fe3ac004bf1b90 /src | |
parent | 37c1e6894f826a72e171187ec4441ee29dadf2aa (diff) |
- s_bsd.c:ssl_handshake(): reset timeout handler once SSL_accept() has
succeeded. Spotted by gp.
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2734 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src')
-rw-r--r-- | src/s_bsd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/s_bsd.c b/src/s_bsd.c index 5750b39..8307a02 100644 --- a/src/s_bsd.c +++ b/src/s_bsd.c @@ -263,6 +263,8 @@ ssl_handshake(int fd, struct Client *client_p) } } + comm_settimeout(&client_p->localClient->fd, 0, NULL, NULL); + if ((cert = SSL_get_peer_certificate(client_p->localClient->fd.ssl))) { int res = SSL_get_verify_result(client_p->localClient->fd.ssl); |