Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
b489cb6c
Commit
b489cb6c
authored
Mar 05, 2011
by
valenok
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug in SSL defines fixed, thanks to mmeuli
parent
48404579
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mongoose.c
mongoose.c
+3
-3
No files found.
mongoose.c
View file @
b489cb6c
...
@@ -283,7 +283,7 @@ struct ssl_func {
...
@@ -283,7 +283,7 @@ struct ssl_func {
#define SSL_connect (* (int (*)(SSL *)) ssl_sw[2].ptr)
#define SSL_connect (* (int (*)(SSL *)) ssl_sw[2].ptr)
#define SSL_read (* (int (*)(SSL *, void *, int)) ssl_sw[3].ptr)
#define SSL_read (* (int (*)(SSL *, void *, int)) ssl_sw[3].ptr)
#define SSL_write (* (int (*)(SSL *, const void *,int)) ssl_sw[4].ptr)
#define SSL_write (* (int (*)(SSL *, const void *,int)) ssl_sw[4].ptr)
#define SSL_get_error (* (int (*)(SSL *, int)) ssl_sw[5])
#define SSL_get_error (* (int (*)(SSL *, int)) ssl_sw[5]
.ptr
)
#define SSL_set_fd (* (int (*)(SSL *, SOCKET)) ssl_sw[6].ptr)
#define SSL_set_fd (* (int (*)(SSL *, SOCKET)) ssl_sw[6].ptr)
#define SSL_new (* (SSL * (*)(SSL_CTX *)) ssl_sw[7].ptr)
#define SSL_new (* (SSL * (*)(SSL_CTX *)) ssl_sw[7].ptr)
#define SSL_CTX_new (* (SSL_CTX * (*)(SSL_METHOD *)) ssl_sw[8].ptr)
#define SSL_CTX_new (* (SSL_CTX * (*)(SSL_METHOD *)) ssl_sw[8].ptr)
...
@@ -305,8 +305,8 @@ struct ssl_func {
...
@@ -305,8 +305,8 @@ struct ssl_func {
(
*
(
void
(
*
)(
void
(
*
)(
int
,
int
,
const
char
*
,
int
)))
crypto_sw
[
1
].
ptr
)
(
*
(
void
(
*
)(
void
(
*
)(
int
,
int
,
const
char
*
,
int
)))
crypto_sw
[
1
].
ptr
)
#define CRYPTO_set_id_callback \
#define CRYPTO_set_id_callback \
(
*
(
void
(
*
)(
unsigned
long
(
*
)(
void
)))
crypto_sw
[
2
].
ptr
)
(
*
(
void
(
*
)(
unsigned
long
(
*
)(
void
)))
crypto_sw
[
2
].
ptr
)
#define ERR_get_error (* (unsigned long (*)(void))
ssl
_sw[3].ptr)
#define ERR_get_error (* (unsigned long (*)(void))
crypto
_sw[3].ptr)
#define ERR_error_string (* (char * (*)(unsigned long,
char *)) ssl
_sw[4].ptr)
#define ERR_error_string (* (char * (*)(unsigned long,
char *)) crypto
_sw[4].ptr)
// set_ssl_option() function updates this array.
// set_ssl_option() function updates this array.
// It loads SSL library dynamically and changes NULLs to the actual addresses
// It loads SSL library dynamically and changes NULLs to the actual addresses
...
...
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