lib/travis/tools/ssl_key.rb in travis-1.8.11.travis.1059.11 vs lib/travis/tools/ssl_key.rb in travis-1.8.11.travis.1081.9

- old
+ new

@@ -18,10 +18,10 @@ end def has_passphrase?(key) OpenSSL::PKey::RSA.new(key, key) false - rescue OpenSSL::PKey::RSAError + rescue OpenSSL::OpenSSLError true end def remove_passphrase(key, passphrase) OpenSSL::PKey::RSA.new(key, passphrase).to_s