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
2bdbfc27
Commit
2bdbfc27
authored
Jun 13, 2019
by
Sergey Lyubka
Committed by
Cesanta Bot
Jun 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Integrate
https://github.com/cesanta/mongoose/issues/1008
PUBLISHED_FROM=1b7bf2d7318568851e6c8f07451cd3982d9498b6
parent
3fc61a3e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
mongoose.c
mongoose.c
+3
-3
mg_ssl_if_openssl.c
src/mg_ssl_if_openssl.c
+3
-3
Makefile
test/Makefile
+1
-1
No files found.
mongoose.c
View file @
2bdbfc27
...
...
@@ -4968,7 +4968,7 @@ static enum mg_ssl_if_result mg_set_cipher_list(SSL_CTX *ctx, const char *cl) {
:
MG_SSL_ERROR
);
}
#if
ndef KR_VERSION
#if
!defined(KR_VERSION) && !defined(LIBRESSL_VERSION_NUMBER)
static
unsigned
int
mg_ssl_if_ossl_psk_cb
(
SSL
*
ssl
,
const
char
*
hint
,
char
*
identity
,
unsigned
int
max_identity_len
,
...
...
@@ -5034,10 +5034,10 @@ static enum mg_ssl_if_result mg_ssl_if_ossl_set_psk(struct mg_ssl_if_ctx *ctx,
(
void
)
ctx
;
(
void
)
identity
;
(
void
)
key_str
;
/* Krypton does not support PSK. */
/* Krypton
/ LibreSSL
does not support PSK. */
return
MG_SSL_ERROR
;
}
#endif
/*
defined(KR_VERSION
) */
#endif
/*
!defined(KR_VERSION) && !defined(LIBRESSL_VERSION_NUMBER
) */
const
char
*
mg_set_ssl
(
struct
mg_connection
*
nc
,
const
char
*
cert
,
const
char
*
ca_cert
)
{
...
...
src/mg_ssl_if_openssl.c
View file @
2bdbfc27
...
...
@@ -310,7 +310,7 @@ static enum mg_ssl_if_result mg_set_cipher_list(SSL_CTX *ctx, const char *cl) {
:
MG_SSL_ERROR
);
}
#if
ndef KR_VERSION
#if
!defined(KR_VERSION) && !defined(LIBRESSL_VERSION_NUMBER)
static
unsigned
int
mg_ssl_if_ossl_psk_cb
(
SSL
*
ssl
,
const
char
*
hint
,
char
*
identity
,
unsigned
int
max_identity_len
,
...
...
@@ -376,10 +376,10 @@ static enum mg_ssl_if_result mg_ssl_if_ossl_set_psk(struct mg_ssl_if_ctx *ctx,
(
void
)
ctx
;
(
void
)
identity
;
(
void
)
key_str
;
/* Krypton does not support PSK. */
/* Krypton
/ LibreSSL
does not support PSK. */
return
MG_SSL_ERROR
;
}
#endif
/*
defined(KR_VERSION
) */
#endif
/*
!defined(KR_VERSION) && !defined(LIBRESSL_VERSION_NUMBER
) */
const
char
*
mg_set_ssl
(
struct
mg_connection
*
nc
,
const
char
*
cert
,
const
char
*
ca_cert
)
{
...
...
test/Makefile
View file @
2bdbfc27
...
...
@@ -11,7 +11,7 @@ COMMON_DIR_DEV = ../../common
# Our dev repo and public mongoose repo have different layouts, so here
# we make it work on both
ifneq
(
"$(wildcard ../../
fw
)"
,
""
)
ifneq
(
"$(wildcard ../../
common.mk
)"
,
""
)
COMMON_PARENT
=
../..
else
COMMON_PARENT
=
$(SRC_DIR)
...
...
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