Added a generic SSL handshake mechanism.

This commit is contained in:
Jan Vidar Krey
2009-08-03 20:21:59 +02:00
parent a297c08bba
commit 4a5993ccc2
3 changed files with 22 additions and 7 deletions

View File

@@ -265,7 +265,7 @@ void net_on_accept(int server_fd, short ev, void *arg)
}
#ifdef SSL_SUPPORT
net_con_ssl_accept(&user->net.connection);
net_con_ssl_handshake(&user->net.connection, NET_CON_SSL_MODE_SERVER);
#endif
}
}