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)
1440
1440
@use_ssl = flag
1441
1441
end
1442
1442
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:
1460
1443
SSL_ATTRIBUTES = [
1461
1444
:ca_file ,
1462
1445
:ca_path ,
@@ -1475,6 +1458,8 @@ def use_ssl=(flag)
1475
1458
:verify_hostname ,
1476
1459
] # :nodoc:
1477
1460
1461
+ SSL_IVNAMES = SSL_ATTRIBUTES . map { |a | "@#{ a } " . to_sym } # :nodoc:
1462
+
1478
1463
# Sets or returns the path to a CA certification file in PEM format.
1479
1464
attr_accessor :ca_file
1480
1465
You can’t perform that action at this time.
0 commit comments