starttls: Update for client fd hash removal.

This commit is contained in:
Jilles Tjoelker 2015-12-24 23:00:09 +01:00
parent a5ddb7df2e
commit e124e4b64c

View file

@ -77,9 +77,7 @@ mr_starttls(struct Client *client_p, struct Client *source_p, int parc, const ch
ctl = start_ssld_accept(client_p->localClient->F, F[1], rb_get_fd(F[0])); ctl = start_ssld_accept(client_p->localClient->F, F[1], rb_get_fd(F[0]));
if (ctl != NULL) if (ctl != NULL)
{ {
del_from_cli_fd_hash(client_p);
client_p->localClient->F = F[0]; client_p->localClient->F = F[0];
add_to_cli_fd_hash(client_p);
client_p->localClient->ssl_ctl = ctl; client_p->localClient->ssl_ctl = ctl;
SetSSL(client_p); SetSSL(client_p);
} }