]> 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:43:48 +0000 (06:43 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 24 Oct 2014 18:57:32 +0000 (20:57 +0200)
commitf056c8eadc4d5fcda5d1e861425802f503587f16
treed5ff0bc46b7b2b37723f98bbb122226cbe421527
parent4fe957aabb9289b13ce9c28854d1e912efee9b77
Fix regression with password protected private keys (polarssl)

Between versions 1.2.7 and 1.2.8, 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