lib/httpx/io/ssl.rb in httpx-0.20.2 vs lib/httpx/io/ssl.rb in httpx-0.20.3
- old
+ new
@@ -143,14 +143,14 @@
server_cert = @io.peer_cert
"#{super}\n\n" \
"SSL connection using #{@io.ssl_version} / #{Array(@io.cipher).first}\n" \
"ALPN, server accepted to use #{protocol}\n" \
- "Server certificate:\n" \
- " subject: #{server_cert.subject}\n" \
- " start date: #{server_cert.not_before}\n" \
- " expire date: #{server_cert.not_after}\n" \
- " issuer: #{server_cert.issuer}\n" \
- " SSL certificate verify ok."
+ "Server certificate:\n " \
+ "subject: #{server_cert.subject}\n " \
+ "start date: #{server_cert.not_before}\n " \
+ "expire date: #{server_cert.not_after}\n " \
+ "issuer: #{server_cert.issuer}\n " \
+ "SSL certificate verify ok."
end
end
end