]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix regression with password protected private keys (polarssl)
authorSteffan Karger <steffan.karger@fox-it.com>
Fri, 19 Sep 2014 04:19:13 +0000 (06:19 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 24 Oct 2014 18:54:35 +0000 (20:54 +0200)
commit4b9eaa1ee40648f101deb4ebf07a04cd5b5400e9
treeb87946ed954d4cafe7a76b09a1ae13135a7d9f7a
parent7aa178381241ae015273914065471e0d271ee1c3
Fix regression with password protected private keys (polarssl)

Between versions 1.2 and 1.3, polarssl changed the errors
returned by the X509 parsing functions, which broke the OpenVPN
implementation for password protected private keys in polarssl
builds. This patch fixes that by checking for the new errors in
OpenVPN.

Signed-off-by: Steffan Karger <steffan.karger@fox-it.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <5432E951.6020405@fox-it.com>
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ssl_polarssl.c