Built and tested with MSVC on Windows 10 - code skips expired certificate
and picks valid one.
Tested that code doesn't explode if --cryptoapicert has unsupported value.
Acked-by: Lev Stipakov
___
Openvpn-devel mailing list
From: Selva Nair
Have the cryptoapicert option find the first matching certificate
in store that is valid at the present time. Currently the first
found item, even if expired, is returned.
This makes it possible to update certifiates in store without having
to delete old ones. As a side effect,