Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
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
capnproto
Commits
fcddda18
Commit
fcddda18
authored
Aug 19, 2018
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid deprecation warning with OpenSSL 1.1.0.
parent
23db5e3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
tls.c++
c++/src/kj/compat/tls.c++
+6
-0
No files found.
c++/src/kj/compat/tls.c++
View file @
fcddda18
...
...
@@ -75,6 +75,7 @@ void X509_up_ref(X509* x509) {
#endif
#if OPENSSL_VERSION_NUMBER < 0x10100000L
class
OpenSslInit
{
// Initializes the OpenSSL library.
public
:
...
...
@@ -89,6 +90,11 @@ void ensureOpenSslInitialized() {
// Initializes the OpenSSL library the first time it is called.
static
OpenSslInit
init
;
}
#else
inline
void
ensureOpenSslInitialized
()
{
// As of 1.1.0, no initialization is needed.
}
#endif
// =======================================================================================
// Implementation of kj::AsyncIoStream that applies TLS on top of some other AsyncIoStream.
...
...
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