Tjerk Meesters
2ff3dafccf
Fixed #69882 : OpenSSL error "key values mismatch" after openssl_pkcs12_read with extra certs
...
Squashed commit of the following:
commit a64c1d9bc4c129fd946a478bdcb55101e42157b7
Author: Tomasz Sawicki <falundir@gmail.com >
Date: Wed Jun 24 08:49:37 2015 +0200
Fix #69882 : OpenSSL error "key values mismatch" after openssl_pkcs12_read with extra certs
The "key values mismatch" error is triggered in openssl_pkcs12_read by
PKCS12_parse, because it uses X509_check_private_key to separate main
certificate (which corresponds to private key) from extra certificates.
Extra certificates usually comes first (p12 contents are reversed as
stack) and X509_check_private_key triggers X509_R_KEY_VALUES_MISMATCH
error.
The fix pops "key values mismatch" error from OpenSSL error stack for
each extra certificate if there are any.
2015-06-26 05:33:28 +08:00
..
2008-07-15 09:14:28 +00:00
2012-03-28 17:13:16 +02:00
2008-07-18 23:52:01 +00:00
2008-07-18 23:52:01 +00:00
2008-07-18 23:52:01 +00:00
2011-05-20 18:56:13 +00:00
2008-07-15 03:20:44 +00:00
2008-07-18 23:52:01 +00:00
2008-07-18 23:52:01 +00:00
2008-07-18 23:52:01 +00:00
2008-07-18 23:52:01 +00:00
2008-07-18 23:52:01 +00:00
2008-07-18 23:52:01 +00:00
2008-07-18 23:52:01 +00:00
2012-03-28 16:15:36 +02:00
2012-03-27 16:07:59 +02:00
2008-07-15 02:59:56 +00:00
2008-07-18 23:52:01 +00:00
2008-07-15 02:59:56 +00:00
2014-07-27 02:42:49 -07:00
2014-11-30 18:17:48 -08:00
2014-11-30 18:17:48 -08:00
2012-03-27 16:07:59 +02:00
2011-09-14 10:55:46 +00:00
2008-11-18 01:56:12 +00:00
2008-11-18 01:56:12 +00:00
2008-11-18 01:56:12 +00:00
2008-11-16 23:14:12 +00:00
2014-03-05 10:03:23 -07:00
2012-02-05 09:52:41 +00:00
2014-02-26 13:20:06 -07:00
2011-05-20 18:56:13 +00:00
2011-05-20 18:56:13 +00:00
2011-06-08 00:23:02 +00:00
2011-06-08 00:23:02 +00:00
2014-03-05 10:03:23 -07:00
2011-09-14 09:56:59 +00:00
2012-02-25 13:27:57 +00:00
2013-02-17 13:28:42 -08:00
2013-08-18 15:42:37 -07:00
2015-03-04 22:37:07 -07:00
2014-02-26 13:20:06 -07:00
2014-06-20 06:45:16 +02:00
2014-02-26 13:20:06 -07:00
2014-02-16 09:20:43 -07:00
2014-06-08 14:17:58 -07:00
2014-06-08 14:17:58 -07:00
2014-10-15 21:12:13 +08:00
2014-03-05 10:03:23 -07:00
2014-02-20 17:23:34 -07:00
2015-03-05 10:09:06 -07:00
2015-03-04 23:55:42 -07:00
2015-03-04 23:55:42 -07:00
2015-03-04 22:39:25 -07:00
2015-03-04 22:39:25 -07:00
2015-04-17 15:20:22 +02:00
2015-03-05 22:00:38 -07:00
2015-03-10 18:13:10 -06:00
2015-03-10 18:13:10 -06:00
2015-03-10 18:13:10 -06:00
2015-03-10 18:13:10 -06:00
2015-06-26 05:33:28 +08:00
2014-03-05 10:03:11 -07:00
2008-07-15 02:59:56 +00:00
2013-08-13 22:24:11 -07:00
2013-08-13 22:24:11 -07:00
2013-12-10 11:03:49 -08:00
2014-06-08 14:17:58 -07:00
2011-05-20 18:56:13 +00:00
2008-07-18 23:52:01 +00:00
2011-12-19 03:09:05 +00:00
2008-07-18 23:52:01 +00:00
2012-06-12 11:21:54 -07:00
2015-03-04 12:47:46 -07:00
2008-11-17 21:54:47 +00:00
2013-05-06 16:36:06 -06:00
2013-05-06 16:36:06 -06:00
2013-05-06 16:36:06 -06:00
2014-06-16 09:42:55 +02:00
2013-09-23 00:51:17 +08:00
2012-02-07 01:15:13 +00:00
2015-03-05 10:09:06 -07:00
2014-03-14 09:50:15 +01:00
2015-06-26 05:33:28 +08:00
2014-02-26 13:20:06 -07:00
2014-11-30 18:17:48 -08:00
2008-07-15 02:59:56 +00:00
2014-11-30 18:17:48 -08:00
2008-07-15 03:20:44 +00:00
2014-02-26 13:20:06 -07:00
2013-10-08 12:37:44 -04:00
2013-10-08 12:37:44 -04:00
2014-02-26 13:37:20 +01:00
2015-05-05 10:40:55 +02:00
2014-03-05 10:03:11 -07:00
2014-03-05 10:03:33 -07:00
2014-03-05 10:03:33 -07:00
2014-03-05 10:03:33 -07:00
2014-03-05 10:03:33 -07:00
2014-03-05 10:03:33 -07:00
2015-05-05 10:40:55 +02:00
2014-03-05 10:03:23 -07:00
2015-05-05 10:40:55 +02:00
2014-02-26 13:20:06 -07:00
2014-11-28 12:24:32 +01:00
2014-02-26 13:20:06 -07:00
2014-03-05 10:03:23 -07:00
2014-02-26 13:20:06 -07:00
2013-10-17 15:32:18 +02:00
2015-05-05 10:40:55 +02:00
2014-03-05 10:03:11 -07:00
2014-03-05 10:03:11 -07:00
2014-03-05 10:03:11 -07:00