Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
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
Operations
Operations
Metrics
Environments
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
cpp-libs
Actor Framework
Commits
c3b95e68
Commit
c3b95e68
authored
Feb 18, 2020
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix formatting
parent
9993f0c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
libcaf_openssl/src/openssl/session.cpp
libcaf_openssl/src/openssl/session.cpp
+4
-4
No files found.
libcaf_openssl/src/openssl/session.cpp
View file @
c3b95e68
...
...
@@ -230,10 +230,10 @@ SSL_CTX* session::create_ssl_context() {
SSL_FILETYPE_PEM
)
!=
1
)
CAF_RAISE_ERROR
(
"cannot load private key"
);
auto
cafile
=
(
!
cfg
.
openssl_cafile
.
empty
()
?
cfg
.
openssl_cafile
.
c_str
()
:
nullptr
);
auto
capath
=
(
!
cfg
.
openssl_capath
.
empty
()
?
cfg
.
openssl_capath
.
c_str
()
:
nullptr
);
auto
cafile
=
(
!
cfg
.
openssl_cafile
.
empty
()
?
cfg
.
openssl_cafile
.
c_str
()
:
nullptr
);
auto
capath
=
(
!
cfg
.
openssl_capath
.
empty
()
?
cfg
.
openssl_capath
.
c_str
()
:
nullptr
);
if
(
cafile
||
capath
)
{
if
(
SSL_CTX_load_verify_locations
(
ctx
,
cafile
,
capath
)
!=
1
)
CAF_RAISE_ERROR
(
"cannot load trusted CA certificates"
);
...
...
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