clean up windows cert scanning

* keep helper functions out of the DLL bindings APIs
 * unify the logic for linux and windows certificate scanning with
   regards to error handling
09560bc69aAndrew Kelley committed on 1/17/2023, 7:08:42 AMparent1f9fa82
2 files changedLine totals unavailable