Skip to content

Commit

Permalink
Remove some unused global variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Oct 14, 2011
1 parent d59e36b commit b4faa3a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/self_signed_ssl_cert.rb
Expand Up @@ -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

0 comments on commit b4faa3a

Please sign in to comment.