TLS compile and crash fixes.

This commit is contained in:
Jan Vidar Krey
2009-10-09 21:11:11 +02:00
parent 0f30ebf045
commit 0c5d98c671
2 changed files with 13 additions and 6 deletions

View File

@@ -142,7 +142,7 @@ static void net_con_event(int fd, short ev, void *arg)
}
else
{
CALLBACK((con, events);
CALLBACK(con, events);
}
}
else
@@ -523,7 +523,7 @@ ssize_t net_con_ssl_connect(struct net_connection* con)
return handle_openssl_error(con, ret);
}
return ret;
// }
}
ssize_t net_con_ssl_handshake(struct net_connection* con, int ssl_mode)
{