File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -1440,23 +1440,6 @@ def use_ssl=(flag)
14401440 @use_ssl = flag
14411441 end
14421442
1443- SSL_IVNAMES = [
1444- :@ca_file ,
1445- :@ca_path ,
1446- :@cert ,
1447- :@cert_store ,
1448- :@ciphers ,
1449- :@extra_chain_cert ,
1450- :@key ,
1451- :@ssl_timeout ,
1452- :@ssl_version ,
1453- :@min_version ,
1454- :@max_version ,
1455- :@verify_callback ,
1456- :@verify_depth ,
1457- :@verify_mode ,
1458- :@verify_hostname ,
1459- ] # :nodoc:
14601443 SSL_ATTRIBUTES = [
14611444 :ca_file ,
14621445 :ca_path ,
@@ -1475,6 +1458,8 @@ def use_ssl=(flag)
14751458 :verify_hostname ,
14761459 ] # :nodoc:
14771460
1461+ SSL_IVNAMES = SSL_ATTRIBUTES . map { |a | "@#{ a } " . to_sym } # :nodoc:
1462+
14781463 # Sets or returns the path to a CA certification file in PEM format.
14791464 attr_accessor :ca_file
14801465
You can’t perform that action at this time.
0 commit comments