Fix bug: compile failed when ssl disabled

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
main
Jianhui Zhao 2017-12-29 15:26:38 +08:00
parent f51efac5a2
commit 8a8680f92a
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,10 @@ static inline int uh_ssl_init(const char *key, const char *crt)
return -1;
}
static inline void uh_ssl_free()
{
}
static inline void uh_ssl_client_attach(struct uh_client *cl)
{
}