diff options
author | Tim Oesterreich <[email protected]> | 2019-05-13 17:37:31 +0200 |
---|---|---|
committer | Tim Oesterreich <[email protected]> | 2019-05-14 09:12:11 +0200 |
commit | 9eb4954843b387c82f6d6126d84af06709ae3ac3 (patch) | |
tree | b94164646398d20cf53f42cb34e723a42acaf33b | |
parent | 5f5615bd3ffa91373ab18e6c8bfb7d72aaea0162 (diff) |
add some comments
-rw-r--r-- | src/lib/x509/certstor_system_windows/certstor_windows.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/x509/certstor_system_windows/certstor_windows.cpp b/src/lib/x509/certstor_system_windows/certstor_windows.cpp index ec0442e63..58ef40fd7 100644 --- a/src/lib/x509/certstor_system_windows/certstor_windows.cpp +++ b/src/lib/x509/certstor_system_windows/certstor_windows.cpp @@ -93,6 +93,9 @@ class Handle_Guard { if(m_context) { + // second parameter is a flag that tells the store how to deallocate memory + // using the default "0", this function works like decreasing the reference counter + // in a shared_ptr CertCloseStore(m_context, 0); } } @@ -245,6 +248,7 @@ Cert_Pointer Certificate_Store_Windows::find_cert_by_raw_subject_dn_sha256( std::shared_ptr<const X509_CRL> Certificate_Store_Windows::find_crl_for(const X509_Certificate& subject) const { + // TODO: this could be implemented by using the CertFindCRLInStore function BOTAN_UNUSED(subject); return {}; } |