Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
25abce02
Commit
25abce02
authored
Oct 24, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When using yaSSL on NetWare some of the OpenSSL specifix hacks can be skipped
parent
38c66b63
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
vio/viossl.c
vio/viossl.c
+5
-0
vio/viosslfactories.c
vio/viosslfactories.c
+4
-0
No files found.
vio/viossl.c
View file @
25abce02
...
@@ -26,6 +26,10 @@
...
@@ -26,6 +26,10 @@
#ifdef HAVE_OPENSSL
#ifdef HAVE_OPENSSL
#ifdef __NETWARE__
#ifdef __NETWARE__
/* yaSSL already uses BSD sockets */
#ifndef HAVE_YASSL
/*
/*
The default OpenSSL implementation on NetWare uses WinSock.
The default OpenSSL implementation on NetWare uses WinSock.
This code allows us to use the BSD sockets.
This code allows us to use the BSD sockets.
...
@@ -47,6 +51,7 @@ static int SSL_set_fd_bsd(SSL *s, int fd)
...
@@ -47,6 +51,7 @@ static int SSL_set_fd_bsd(SSL *s, int fd)
#define SSL_set_fd(A, B) SSL_set_fd_bsd((A), (B))
#define SSL_set_fd(A, B) SSL_set_fd_bsd((A), (B))
#endif
/* HAVE_YASSL */
#endif
/* __NETWARE__ */
#endif
/* __NETWARE__ */
...
...
vio/viosslfactories.c
View file @
25abce02
...
@@ -180,11 +180,15 @@ void netware_ssl_cleanup()
...
@@ -180,11 +180,15 @@ void netware_ssl_cleanup()
/* free memory from SSL_library_init() */
/* free memory from SSL_library_init() */
EVP_cleanup
();
EVP_cleanup
();
/* OpenSSL NetWare port specific functions */
#ifndef HAVE_YASSL
/* free global X509 method */
/* free global X509 method */
X509_STORE_method_cleanup
();
X509_STORE_method_cleanup
();
/* free the thread_hash error table */
/* free the thread_hash error table */
ERR_free_state_table
();
ERR_free_state_table
();
#endif
}
}
...
...
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