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
c8ee9765
Commit
c8ee9765
authored
Apr 23, 2018
by
Volodymyr Yurchenko
Committed by
Nikola Hardi
Mar 18, 2019
Browse files
Hide debug messages in TJAlien.cxx
parent
fbd060dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
TJAlien.cxx
View file @
c8ee9765
...
...
@@ -1668,8 +1668,7 @@ 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
+
"sdfsdfdsf/.j/trusts/"
;
//std::string location = homedir + "/cvmfs/alice/.j/trusts/";
std
::
string
location
=
homedir
+
".j/trusts/"
;
std
::
string
capath
=
std
::
getenv
(
"JALIEN_CA_PATH"
)
?
:
location
;
size_t
pos
=
0
;
std
::
string
token
;
...
...
@@ -1701,10 +1700,13 @@ int TJAlien::ws_service_callback(struct lws *wsi, enum lws_callback_reasons reas
case
LWS_CALLBACK_OPENSSL_PERFORM_SERVER_CERT_VERIFICATION
:
{
if
(
gDebug
>
1
)
printf
(
"[Websocket Callback] LWS_CALLBACK_OPENSSL_PERFORM_SERVER_CERT_VERIFICATION is called
\n
"
);
printf
(
"[Websocket Callback] x509_ctx: %s
\n
"
,
((
SSL_CTX
*
)
user
)
->
client_CA
);
printf
(
"[Websocket Callback] ssl: %s
\n
"
,
in
);
printf
(
"[Websocket Callback] SSL_CTX_get_client_CA_list: %s
\n
"
,
SSL_CTX_get_client_CA_list
((
SSL_CTX
*
)
user
));
if
(
gDebug
>
1
)
{
printf
(
"[Websocket Callback] LWS_CALLBACK_OPENSSL_PERFORM_SERVER_CERT_VERIFICATION is called
\n
"
);
printf
(
"[Websocket Callback] x509_ctx: %s
\n
"
,
((
SSL_CTX
*
)
user
)
->
client_CA
);
printf
(
"[Websocket Callback] ssl: %s
\n
"
,
in
);
printf
(
"[Websocket Callback] SSL_CTX_get_client_CA_list: %s
\n
"
,
SSL_CTX_get_client_CA_list
((
SSL_CTX
*
)
user
));
}
break
;
}
...
...
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