Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
mongoose
Commits
c34f6c54
Commit
c34f6c54
authored
Dec 06, 2019
by
Deomid Ryabkov
Committed by
Cesanta Bot
Dec 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ota-shadow logic
PUBLISHED_FROM=68a57c967f8864946244893c71a397ab4e27d75d
parent
8fb58ebb
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
mongoose.c
mongoose.c
+2
-2
mongoose.h
mongoose.h
+1
-1
mg_ssl_if.h
src/mg_ssl_if.h
+1
-1
mg_ssl_if_mbedtls.c
src/mg_ssl_if_mbedtls.c
+1
-1
mg_ssl_if_openssl.c
src/mg_ssl_if_openssl.c
+1
-1
No files found.
mongoose.c
View file @
c34f6c54
...
@@ -4679,7 +4679,7 @@ struct mg_ssl_if_ctx {
...
@@ -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 {
...
@@ -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
));
}
}
...
...
mongoose.h
View file @
c34f6c54
...
@@ -3844,7 +3844,7 @@ extern "C" {
...
@@ -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
,
...
...
src/mg_ssl_if.h
View file @
c34f6c54
...
@@ -15,7 +15,7 @@ extern "C" {
...
@@ -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
,
...
...
src/mg_ssl_if_mbedtls.c
View file @
c34f6c54
...
@@ -52,7 +52,7 @@ struct mg_ssl_if_ctx {
...
@@ -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
));
}
}
...
...
src/mg_ssl_if_openssl.c
View file @
c34f6c54
...
@@ -21,7 +21,7 @@ struct mg_ssl_if_ctx {
...
@@ -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
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment