summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2018-02-05 22:39:35 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2018-02-05 22:39:35 +0100
commit5513e4e1f9674f9163fdeb6ccc6dc1994736703a (patch)
tree97afd5a0b85e5a487fe755928ef4ccd9a5d0ef46 /modules
parent5c9ecc174b60cd654102a3a77692cc80a2224253 (diff)
Remove debugging prints related to the asset library
Diffstat (limited to 'modules')
-rw-r--r--modules/openssl/stream_peer_openssl.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/openssl/stream_peer_openssl.cpp b/modules/openssl/stream_peer_openssl.cpp
index e3cb9bbdf8..84c4e85006 100644
--- a/modules/openssl/stream_peer_openssl.cpp
+++ b/modules/openssl/stream_peer_openssl.cpp
@@ -141,9 +141,6 @@ int StreamPeerOpenSSL::_cert_verify_callback(X509_STORE_CTX *x509_ctx, void *arg
X509_NAME_oneline(X509_get_subject_name(server_cert),
cert_str, sizeof(cert_str));
- print_line("CERT STR: " + String(cert_str));
- print_line("VALID: " + itos(base_cert_valid));
-
if (!base_cert_valid)
return 0;
@@ -382,7 +379,6 @@ Error StreamPeerOpenSSL::connect_to_stream(Ref<StreamPeer> p_base, bool p_valida
// Same as before, try to connect.
int result = SSL_connect(ssl);
- print_line("CONNECTION RESULT: " + itos(result));
if (result < 1) {
ERR_print_errors_fp(stdout);
_print_error(result);
@@ -392,7 +388,6 @@ Error StreamPeerOpenSSL::connect_to_stream(Ref<StreamPeer> p_base, bool p_valida
if (peer) {
bool cert_ok = SSL_get_verify_result(ssl) == X509_V_OK;
- print_line("cert_ok: " + itos(cert_ok));
} else if (validate_certs) {
status = STATUS_ERROR_NO_CERTIFICATE;