Acked-by: Gert Doering <[email protected]>

"That was an easy one" :-) - error reporting is always useful, and
the code change is trivial enough.  Tested with "wrong password" only,
which now prints:

2021-10-21 08:24:01 OpenSSL: error:23076071:PKCS12 routines:PKCS12_parse:mac 
verify failure
2021-10-21 08:24:01 OpenSSL: error:23076071:PKCS12 routines:PKCS12_parse:mac 
verify failure
2021-10-21 08:24:01 Decoding PKCS12 failed. Probably wrong password or 
unsupported/legacy encryption
2021-10-21 08:24:01 SIGUSR1[soft,private-key-password-failure] received, 
process restarting

Your patch has been applied to the master branch.

commit 6ac4e63c577986ec11eae3519fe8516e8ca8ac0f
Author: Arne Schwabe
Date:   Tue Oct 19 20:31:22 2021 +0200

     Add message when decoding PKCS12 file fails.

     Signed-off-by: Arne Schwabe <[email protected]>
     Acked-by: Gert Doering <[email protected]>
     Message-Id: <[email protected]>
     URL: 
https://www.mail-archive.com/[email protected]/msg23017.html
     Signed-off-by: Gert Doering <[email protected]>


--
kind regards,

Gert Doering



_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to