Code format

This commit is contained in:
yhirose 2020-12-31 18:14:28 -05:00
parent 242706ea34
commit 3f88a46c4a
2 changed files with 43 additions and 10 deletions

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);