mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-27 12:26:24 +00:00
Fix ota-shadow logic
PUBLISHED_FROM=68a57c967f8864946244893c71a397ab4e27d75d
This commit is contained in:
1 parent
8fb58ebbca
commit
c34f6c54e7
5 files changed
+6
-6
No files matched your search
+2
-2
@@ -4679,7 +4679,7 @@ struct mg_ssl_if_ctx {
|
||||
size_t identity_len;
|
||||
};
|
||||
|
||||
void mg_ssl_if_init() {
|
||||
void mg_ssl_if_init(void) {
|
||||
SSL_library_init();
|
||||
}
|
||||
|
||||
@@ -5110,7 +5110,7 @@ struct mg_ssl_if_ctx {
|
||||
/* 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);
|
||||
|
||||
void mg_ssl_if_init() {
|
||||
void mg_ssl_if_init(void) {
|
||||
LOG(LL_INFO, ("%s", MBEDTLS_VERSION_STRING_FULL));
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -3844,7 +3844,7 @@ extern "C" {
|
||||
struct mg_ssl_if_ctx;
|
||||
struct mg_connection;
|
||||
|
||||
void mg_ssl_if_init();
|
||||
void mg_ssl_if_init(void);
|
||||
|
||||
enum mg_ssl_if_result {
|
||||
MG_SSL_OK = 0,
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ extern "C" {
|
||||
struct mg_ssl_if_ctx;
|
||||
struct mg_connection;
|
||||
|
||||
void mg_ssl_if_init();
|
||||
void mg_ssl_if_init(void);
|
||||
|
||||
enum mg_ssl_if_result {
|
||||
MG_SSL_OK = 0,
|
||||
|
||||
@@ -52,7 +52,7 @@ struct mg_ssl_if_ctx {
|
||||
/* 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);
|
||||
|
||||
void mg_ssl_if_init() {
|
||||
void mg_ssl_if_init(void) {
|
||||
LOG(LL_INFO, ("%s", MBEDTLS_VERSION_STRING_FULL));
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ struct mg_ssl_if_ctx {
|
||||
size_t identity_len;
|
||||
};
|
||||
|
||||
void mg_ssl_if_init() {
|
||||
void mg_ssl_if_init(void) {
|
||||
SSL_library_init();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user