File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -145,12 +145,11 @@ impl CertStore {
145145 self . do_find ( CERT_FIND_HASH , & hash_blob as * const _ as _ )
146146 }
147147
148- // On later OS releases, we added CERT_FIND_SHA256_HASH .
148+ // Windows added CERT_FIND_SHA256_HASH in the recent OS releases .
149149 // However, rustls-cng could be installed on earlier OS release where this FIND_SHA256 isn't present.
150150 // But the CERT_SHA256_HASH_PROP_ID is present.
151151 // So will need to add a new internal find function that gets and compares the SHA256 property.
152- // Also, since SHA1 is being deprecated, Windows components should not use.
153- // Therefore, the need to find via SHA256 instead of SHA1.
152+ // Also, since SHA1 is being deprecated, Windows components should not use it.
154153
155154 /// Find a list of certificates matching the SHA256 hash
156155 pub fn find_by_sha256 < D > ( & self , hash : D ) -> Result < Vec < CertContext > >
You can’t perform that action at this time.
0 commit comments