mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-27 23:21:04 +08:00
Fix ota-shadow logic
PUBLISHED_FROM=68a57c967f8864946244893c71a397ab4e27d75d
This commit is contained in:
parent
8fb58ebbca
commit
c34f6c54e7
@ -4679,7 +4679,7 @@ struct mg_ssl_if_ctx {
|
|||||||
size_t identity_len;
|
size_t identity_len;
|
||||||
};
|
};
|
||||||
|
|
||||||
void mg_ssl_if_init() {
|
void mg_ssl_if_init(void) {
|
||||||
SSL_library_init();
|
SSL_library_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5110,7 +5110,7 @@ struct mg_ssl_if_ctx {
|
|||||||
/* Must be provided by the platform. ctx is struct mg_connection. */
|
/* Must be provided by the platform. ctx is struct mg_connection. */
|
||||||
extern int mg_ssl_if_mbed_random(void *ctx, unsigned char *buf, size_t len);
|
extern int mg_ssl_if_mbed_random(void *ctx, unsigned char *buf, size_t len);
|
||||||
|
|
||||||
void mg_ssl_if_init() {
|
void mg_ssl_if_init(void) {
|
||||||
LOG(LL_INFO, ("%s", MBEDTLS_VERSION_STRING_FULL));
|
LOG(LL_INFO, ("%s", MBEDTLS_VERSION_STRING_FULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3844,7 +3844,7 @@ extern "C" {
|
|||||||
struct mg_ssl_if_ctx;
|
struct mg_ssl_if_ctx;
|
||||||
struct mg_connection;
|
struct mg_connection;
|
||||||
|
|
||||||
void mg_ssl_if_init();
|
void mg_ssl_if_init(void);
|
||||||
|
|
||||||
enum mg_ssl_if_result {
|
enum mg_ssl_if_result {
|
||||||
MG_SSL_OK = 0,
|
MG_SSL_OK = 0,
|
||||||
|
@ -15,7 +15,7 @@ extern "C" {
|
|||||||
struct mg_ssl_if_ctx;
|
struct mg_ssl_if_ctx;
|
||||||
struct mg_connection;
|
struct mg_connection;
|
||||||
|
|
||||||
void mg_ssl_if_init();
|
void mg_ssl_if_init(void);
|
||||||
|
|
||||||
enum mg_ssl_if_result {
|
enum mg_ssl_if_result {
|
||||||
MG_SSL_OK = 0,
|
MG_SSL_OK = 0,
|
||||||
|
@ -52,7 +52,7 @@ struct mg_ssl_if_ctx {
|
|||||||
/* Must be provided by the platform. ctx is struct mg_connection. */
|
/* Must be provided by the platform. ctx is struct mg_connection. */
|
||||||
extern int mg_ssl_if_mbed_random(void *ctx, unsigned char *buf, size_t len);
|
extern int mg_ssl_if_mbed_random(void *ctx, unsigned char *buf, size_t len);
|
||||||
|
|
||||||
void mg_ssl_if_init() {
|
void mg_ssl_if_init(void) {
|
||||||
LOG(LL_INFO, ("%s", MBEDTLS_VERSION_STRING_FULL));
|
LOG(LL_INFO, ("%s", MBEDTLS_VERSION_STRING_FULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ struct mg_ssl_if_ctx {
|
|||||||
size_t identity_len;
|
size_t identity_len;
|
||||||
};
|
};
|
||||||
|
|
||||||
void mg_ssl_if_init() {
|
void mg_ssl_if_init(void) {
|
||||||
SSL_library_init();
|
SSL_library_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user