This will allow us to remove the ssl hook entirely, since it's repeating
code from the ssl connection driver and complicates things more than
necessary.
We lose server port configuration now, but it should be plain easy to
get it back.
#include "log.h"
#include "nethook.h"
#include "null.h"
-#include "ssl.h"
#include "pop.h"
#include "hcconn.h"
inet_ntoa (((struct sockaddr_in *) addr)->sin_addr));
conn = hc_conn_new (NULL, NULL);
hc_conn_set_driver_channel (conn, fd);
- hook = ssl_hook_new (conn, address->server, address->port);
+ hook = null_hook_new (conn, address->server);
pop_hook_new (hook);
}