File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -1004,9 +1004,8 @@ static X509_STORE* NewRootCertStore() {
10041004 X509_STORE_set_default_paths (store);
10051005 } else {
10061006 Mutex::ScopedLock lock (root_certs_vector_mutex);
1007- for (X509* cert : root_certs_vector) {
1007+ for (X509* cert : root_certs_vector)
10081008 X509_STORE_add_cert (store, cert);
1009- }
10101009 }
10111010
10121011 return store;
@@ -1085,7 +1084,6 @@ static unsigned long AddRootCertsFromFile( // NOLINT(runtime/int)
10851084 if (!bio)
10861085 return ERR_get_error ();
10871086
1088- // Scope for root_certs_vector lock
10891087 {
10901088 Mutex::ScopedLock lock (root_certs_vector_mutex);
10911089 while (X509* x509 =
@@ -6643,7 +6641,6 @@ void GetRootCertificates(const FunctionCallbackInfo<Value>& args) {
66436641
66446642 std::vector<Local<Value>> result;
66456643
6646- // Scope for root_certs_vector lock
66476644 {
66486645 Mutex::ScopedLock lock (root_certs_vector_mutex);
66496646
You can’t perform that action at this time.
0 commit comments