Fix unamalgamated build

This commit is contained in:
Sergey Lyubka 2022-07-28 10:46:42 +01:00
parent a2289a0625
commit 56e6cf406a
2 changed files with 2 additions and 0 deletions

View File

@ -5227,6 +5227,7 @@ long mg_tls_send(struct mg_connection *c, const void *buf, size_t len) {
#endif
#if MG_ENABLE_OPENSSL
static int mg_tls_err(struct mg_tls *tls, int res) {
int err = SSL_get_error(tls->ssl, res);

View File

@ -1,3 +1,4 @@
#include "fmt.h"
#include "tls.h"
#if MG_ENABLE_OPENSSL