Some work on integrating OpenSSL.
This commit is contained in:
@@ -178,7 +178,7 @@ int hub_sendq_send(struct hub_sendq* q, hub_recvq_write w, void* data)
|
||||
if (ret > 0)
|
||||
{
|
||||
#ifdef SSL_SUPPORT
|
||||
q->last_write_n = ret;
|
||||
q->last_send = ret;
|
||||
#endif
|
||||
|
||||
/* Remove messages sent */
|
||||
|
||||
@@ -75,7 +75,7 @@ int net_user_send(void* ptr, const void* buf, size_t len)
|
||||
return ret;
|
||||
}
|
||||
|
||||
#ifdef SSL_SUPPORT
|
||||
#if 0
|
||||
int net_user_send_ssl(void* ptr, const void* buf, size_t len)
|
||||
{
|
||||
struct hub_user* user = (struct hub_user*) ptr;
|
||||
@@ -114,8 +114,7 @@ int net_user_recv(void* ptr, void* buf, size_t len)
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
#ifdef SSL_SUPPORT
|
||||
#if 0
|
||||
int net_user_recv_ssl(void* ptr, void* buf, size_t len)
|
||||
{
|
||||
struct hub_user* user = (struct hub_user*) ptr;
|
||||
|
||||
Reference in New Issue
Block a user