fixup! Fix compiler warnings using gcc 4.6.

This commit is contained in:
Jan Vidar Krey
2011-12-09 14:21:16 +01:00
parent 8d607dff13
commit fb89307b0a
2 changed files with 2 additions and 2 deletions

View File

@@ -692,7 +692,7 @@ static int load_ssl_certificates(struct hub_info* hub, struct hub_config* config
{
if (config->tls_enable)
{
hub->ssl_method = SSLv23_method(); /* TLSv1_method() */
hub->ssl_method = (SSL_METHOD*) SSLv23_method(); /* TLSv1_method() */
hub->ssl_ctx = SSL_CTX_new(hub->ssl_method);
/* Disable SSLv2 */