Commit c8ee9765 authored by Volodymyr Yurchenko's avatar Volodymyr Yurchenko Committed by Nikola Hardi
Browse files

Hide debug messages in TJAlien.cxx

parent fbd060dc
......@@ -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");
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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment