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 @@ -1481,23 +1481,6 @@ def use_ssl=(flag)
1481
1481
@use_ssl = flag
1482
1482
end
1483
1483
1484
- SSL_IVNAMES = [
1485
- :@ca_file ,
1486
- :@ca_path ,
1487
- :@cert ,
1488
- :@cert_store ,
1489
- :@ciphers ,
1490
- :@extra_chain_cert ,
1491
- :@key ,
1492
- :@ssl_timeout ,
1493
- :@ssl_version ,
1494
- :@min_version ,
1495
- :@max_version ,
1496
- :@verify_callback ,
1497
- :@verify_depth ,
1498
- :@verify_mode ,
1499
- :@verify_hostname ,
1500
- ] # :nodoc:
1501
1484
SSL_ATTRIBUTES = [
1502
1485
:ca_file ,
1503
1486
:ca_path ,
@@ -1516,6 +1499,8 @@ def use_ssl=(flag)
1516
1499
:verify_hostname ,
1517
1500
] # :nodoc:
1518
1501
1502
+ SSL_IVNAMES = SSL_ATTRIBUTES . map { |a | "@#{ a } " . to_sym } # :nodoc:
1503
+
1519
1504
# Sets or returns the path to a CA certification file in PEM format.
1520
1505
attr_accessor :ca_file
1521
1506
You can’t perform that action at this time.
0 commit comments