Re: [Openvpn-devel] [PATCH v4 1/2] Skip expired certificates in Windows certificate store

2020-02-13 Thread Lev Stipakov
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

[Openvpn-devel] [PATCH v4 1/2] Skip expired certificates in Windows certificate store

2020-02-12 Thread selva . nair
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,