|
From: Steffan K. <ste...@fo...> - 2014-10-06 19:11:27
|
Hi, 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. Later, for polarssl 1.3, the return codes changed again. The attached patches fix the regression by checking for the new errors in OpenVPN. Since the 2.3 and master code is slightly different here, I made a patch for each branch. The polarssl change for 1.2.8: https://github.com/polarssl/polarssl/commit/b495d3a An later for polarssl 1.3 (search for pk_parse_key()): https://github.com/polarssl/polarssl/commit/1a7550a -Steffan |