mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-23 11:44:53 +00:00
Tuning test
This commit is contained in:
1 parent
136a37ef73
commit
1d0e65d17a
1 file changed
+4
-6
@@ -7,12 +7,10 @@
|
||||
|
||||
#include <mbedtls/debug.h>
|
||||
#include <mbedtls/ssl.h>
|
||||
#include <mbedtls/version.h>
|
||||
#if MBEDTLS_VERSION_NUMBER > 0x02070000
|
||||
#include <mbedtls/net_sockets.h>
|
||||
#else
|
||||
#include <mbedtls/net.h>
|
||||
#endif
|
||||
|
||||
// Different versions have those in different files, so declare here
|
||||
int mbedtls_net_recv(void *ctx, unsigned char *buf, size_t len);
|
||||
int mbedtls_net_send(void *ctx, const unsigned char *buf, size_t len);
|
||||
|
||||
struct mg_tls {
|
||||
char *cafile; // CA certificate path
|
||||
|
||||
Reference in new issue
Block a user