mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-01 13:10:43 +00:00
Tuning test
This commit is contained in:
1 parent
1d0e65d17a
commit
866c987409
4 files changed
+20
-14
No files matched your search
@@ -9,8 +9,14 @@
|
||||
#include <mbedtls/ssl.h>
|
||||
|
||||
// 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);
|
||||
#ifdef __cplusplus
|
||||
#define EXTERN_C extern "C"
|
||||
#else
|
||||
#define EXTERN_C
|
||||
#endif
|
||||
|
||||
EXTERN_C int mbedtls_net_recv(void *, unsigned char *, size_t);
|
||||
EXTERN_C int mbedtls_net_send(void *, const unsigned char *, size_t);
|
||||
|
||||
struct mg_tls {
|
||||
char *cafile; // CA certificate path
|
||||
|
||||
Reference in new issue
Block a user