Code format

This commit is contained in:
yhirose committed 2020-12-31 18:14:28 -05:00
1 parent 242706ea34
commit 3f88a46c4a
2 files changed
+43 -10

No files matched your search

+2 -1
View File
@@ -3555,7 +3555,8 @@ inline bool load_system_certs_on_windows(X509_STORE *store) {
if (!hStore) { return false; }
PCCERT_CONTEXT pContext = NULL;
while ((pContext = CertEnumCertificatesInStore(hStore, pContext)) != nullptr) {
while ((pContext = CertEnumCertificatesInStore(hStore, pContext)) !=
nullptr) {
auto encoded_cert =
static_cast<const unsigned char *>(pContext->pbCertEncoded);