Move TLS API to tls.h, fix builtin handshake codepath

This commit is contained in:
cpq committed 2023-12-08 00:30:09 +00:00
1 parent 4fc43cfbf7
commit 6e68124405
5 files changed
+18 -18

No files matched your search

-5
View File
@@ -99,8 +99,3 @@ bool mg_open_listener(struct mg_connection *c, const char *url);
// Utility functions
struct mg_timer *mg_timer_add(struct mg_mgr *mgr, uint64_t milliseconds,
unsigned flags, void (*fn)(void *), void *arg);
// Low-level IO primives used by TLS layer
enum { MG_IO_ERR = -1, MG_IO_WAIT = -2, MG_IO_RESET = -3 };
long mg_io_send(struct mg_connection *c, const void *buf, size_t len);
long mg_io_recv(struct mg_connection *c, void *buf, size_t len);