Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove some unused global variables.

  • Loading branch information...
commit b4faa3ab6b1e64b3a893e1ee166aa3cbacd1b552 1 parent d59e36b
@gabebw gabebw authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 spec/self_signed_ssl_cert.rb
View
10 spec/self_signed_ssl_cert.rb
@@ -35,8 +35,8 @@
-----END CERTIFICATE-----
PEM_ENCODED
-$openssl_self_signed_key = key = OpenSSL::PKey::RSA.new(pem)
-$openssl_self_signed_cert = cert = OpenSSL::X509::Certificate.new(pem)
-$openssl_self_signed_ctx = ssl_ctx = OpenSSL::SSL::SSLContext.new
-ssl_ctx.key = key
-ssl_ctx.cert = cert
+key = OpenSSL::PKey::RSA.new(pem)
+cert = OpenSSL::X509::Certificate.new(pem)
+$openssl_self_signed_ctx = OpenSSL::SSL::SSLContext.new
+$openssl_self_signed_ctx.key = key
+$openssl_self_signed_ctx.cert = cert
Please sign in to comment.
Something went wrong with that request. Please try again.