*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
if(!SSL_set_fd(sslconn->sslHandle, client->sock)) goto ssl_connect_err;
if(SSL_connect(sslconn->sslHandle) != 1) goto ssl_connect_err;
client->sslconn = sslconn;
if(!SSL_set_fd(sslconn->sslHandle, client->sock)) goto ssl_connect_err;
if(SSL_connect(sslconn->sslHandle) != 1) goto ssl_connect_err;
client->sslconn = sslconn;