Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
JAliEn
JAliEn-ROOT
Commits
dd11c464
Commit
dd11c464
authored
Aug 23, 2018
by
Nikola Hardi
Browse files
Enable reading CA certs from X509_CERT_DIR
parent
5b0ec3c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
TJAlien.cxx
View file @
dd11c464
...
...
@@ -1668,8 +1668,8 @@ int TJAlien::ws_service_callback(struct lws *wsi, enum lws_callback_reasons reas
//SSL_CTX_set_verify((SSL_CTX*)user, SSL_VERIFY_PEER, NULL);
//SSL_set_verify(wsi->ssl, SSL_VERIFY_PEER, NULL);
std
::
string
location
=
homedir
+
".j/trusts/"
;
std
::
string
capath
=
std
::
getenv
(
"
JALIEN_CA_PATH
"
)
?
:
location
;
std
::
string
location
=
homedir
+
"
/
.j/trusts/"
;
std
::
string
capath
=
std
::
getenv
(
"
X509_CERT_DIR
"
)
?
:
location
;
size_t
pos
=
0
;
std
::
string
token
;
...
...
Write
Preview
Supports
Markdown
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