Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Remove some unused global variables. #194

Merged
merged 1 commit into from

1 participant

@gabebw
Admin

No description provided.

@gabebw gabebw merged commit b4faa3a into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 14, 2011
  1. @gabebw
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.