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 +4 -4
- data/lib/ssltool/certificate_store.rb +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 486095b2c7baa9b9746d36e49907b08cf39f75f3
|
4
|
+
data.tar.gz: 3a59aac8a822936db0f48d70a7d9fc8af811c0b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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|
|