Mercurial > trustbridge
comparison cinst/windowsstore.c @ 905:698b6a9bd75e
Fix coding style for C code
astyle --style=gnu --indent=spaces=2
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 13 Aug 2014 15:49:47 +0200 |
parents | f595fcbe3e76 |
children | 265583011f24 |
comparison
equal
deleted
inserted
replaced
904:f89b41fa7048 | 905:698b6a9bd75e |
---|---|
139 { | 139 { |
140 continue; | 140 continue; |
141 } | 141 } |
142 | 142 |
143 found_cert = CertFindCertificateInStore (hStore, | 143 found_cert = CertFindCertificateInStore (hStore, |
144 X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, | 144 X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, |
145 0, | 145 0, |
146 CERT_FIND_EXISTING, | 146 CERT_FIND_EXISTING, |
147 pc_to_add, | 147 pc_to_add, |
148 NULL); | 148 NULL); |
149 if (found_cert != NULL) | 149 if (found_cert != NULL) |
150 { | 150 { |
151 DEBUGPRINTF ("Certificate already in store\n"); | 151 DEBUGPRINTF ("Certificate already in store\n"); |
152 CertFreeCertificateContext (found_cert); | 152 CertFreeCertificateContext (found_cert); |
153 CertFreeCertificateContext (pc_to_add); | 153 CertFreeCertificateContext (pc_to_add); |