ssltool 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37835c9e932826ae771b4376fda53f7cc7226d15
4
- data.tar.gz: 5e63531200c1057028a6fb1320ee02c15b409201
3
+ metadata.gz: 486095b2c7baa9b9746d36e49907b08cf39f75f3
4
+ data.tar.gz: 3a59aac8a822936db0f48d70a7d9fc8af811c0b0
5
5
  SHA512:
6
- metadata.gz: 4e4a26ddf5b369a894b03c9778a42be60f5cd5cd589b285bc177a8594ca09dca1c61bb2c7b7a26bdd7299ed998409b3cd7e1d5b5b3664a35ed5741d9fa6f556d
7
- data.tar.gz: 2ea0d978d558529873fe2a6c4fdced1c786eb7b4382f6b480743c8d35cf22e843bd0649a929fed122734765a3657fe3c3bacc59c23d6d468958cdda50d76e774
6
+ metadata.gz: 75ccaa67d69f329cf52fa597f9eb36e0aeea8a99476807d87f4efff980377d25c7364540b6306e767cc8dbfb9ef5d8b7fb82b55e42a3cb0caced40b85de005c7
7
+ data.tar.gz: 9a08eb4277cd89fa98255a65b80bfe8117987f2022aacd6e5c8a43d26abb93ba1a634cc87220cf50ae44bd41d3535ffbc488869b7a02fc121200f72b42aefa3c
@@ -48,8 +48,7 @@ module SSLTool
48
48
  viable_pool = unfiltered_pool.select { |c|
49
49
  !strict || c.version < 2 ? !c.for_domain_name? : c.certificate_authority? && c.certificate_sign? }
50
50
  .select(&:acceptable?)
51
- .to_set
52
- return if combined_trusted_pool_set.superset?(viable_pool)
51
+ return if combined_trusted_pool_set.superset?(viable_pool.to_set)
53
52
  working_pool = intermediate_pool + viable_pool - excluded_pool
54
53
  all_chains = working_pool.map { |cert| cert.chain_from(working_pool) }
55
54
  unique_chains = all_chains.sort_by(&:length).reverse.inject([]) { |chains, chain|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssltool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caio Chassot