Skip to content
Browse files

refs #13307 - remove ssl logging stuff due it's useless

Initially we decide to remove ssl logging because there are too
many logs connected with that. We don't need to log this stuff,
because if there is problem with authorization then the server
will return appropriate status code in the response.
  • Loading branch information...
1 parent 72c4b2d commit 82e29a5b6a56f81c6cfc063d06c0325b36fe63b4 Alexander Litvinovsky committed Aug 10, 2012
Showing with 0 additions and 6 deletions.
  1. +0 −6 lib/right_http_connection.rb
View
6 lib/right_http_connection.rb
@@ -310,12 +310,6 @@ def start(request_params)
# List of error codes: http://www.openssl.org/docs/apps/verify.html
code = x509_store_ctx.error
msg = x509_store_ctx.error_string
- #debugger
- if code == 0
- @logger.info "##### Certificate verification passed. #####"
- else
- @logger.warn("##### #{@server} certificate verify failed: #{msg}")
- end
if request_params[:fail_if_ca_mismatch] && code != 0
false
else

0 comments on commit 82e29a5

Please sign in to comment.
Something went wrong with that request. Please try again.