Re: [Openvpn-devel] [PATCH] cryptoapi.c: fix run-time check failure in msvc debugger

2020-02-13 Thread Selva Nair
Hi, On Thu, Feb 13, 2020 at 4:57 AM Lev Stipakov wrote: > > From: Lev Stipakov > > When using certificate without RSA_PKCS1_PSS_PADDING padding, > "saltlen" is passed unitialized to priv_enc_CNG(), which causes > > > Run-Time Check Failure #3 - The variable 'saltlen' is being used without >

[Openvpn-devel] [PATCH] cryptoapi.c: fix run-time check failure in msvc debugger

2020-02-13 Thread Lev Stipakov
From: Lev Stipakov When using certificate without RSA_PKCS1_PSS_PADDING padding, "saltlen" is passed unitialized to priv_enc_CNG(), which causes > Run-Time Check Failure #3 - The variable 'saltlen' is being used without > being initialized. in VS debugger. Initialize saltlen (and other