Jouni Malinen
460e5cdf43
OpenSSL: Fix OpenSSL 1.1.0 DH operation
...
Commit 49fe2ada20d5fd53c0388442d23e7f03086f4d57 ('OpenSSL: Support
OpenSSL 1.1.0 DH opacity') started using the new accessor functions, but
used incorrect success check for the DH_set0_key() call. This resulted
in dh5_init_fixed() failures and double-free on error path if the build
was linked against OpenSSL 1.1.0. Fix this by checking DH_set0_key()
return value to be 1 for the success case.
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-15 13:30:57 +03:00
..
2009-12-05 22:03:46 +02:00
2012-09-09 13:30:51 +03:00
2014-10-19 12:43:38 +03:00
2015-01-24 19:37:42 +02:00
2015-11-28 20:46:36 +02:00
2014-07-02 12:38:47 +03:00
2012-02-11 19:39:36 +02:00
2015-01-06 02:49:13 +02:00
2012-02-11 19:39:36 +02:00
2014-07-02 12:38:47 +03:00
2012-09-09 13:30:51 +03:00
2012-09-09 13:30:51 +03:00
2012-09-09 13:30:51 +03:00
2015-10-17 20:40:36 +03:00
2015-01-06 02:49:13 +02:00
2014-10-07 14:57:10 +03:00
2014-10-07 14:57:10 +03:00
2012-02-11 19:39:36 +02:00
2012-02-11 19:39:36 +02:00
2012-09-09 14:12:59 +03:00
2012-02-11 19:39:36 +02:00
2014-05-19 23:27:30 +03:00
2015-11-29 18:21:08 +02:00
2012-02-11 19:39:36 +02:00
2016-06-23 18:26:09 +03:00
2012-02-11 19:39:36 +02:00
2016-07-15 13:30:57 +03:00
2015-11-29 18:21:08 +02:00
2012-02-11 19:39:36 +02:00
2012-02-11 19:39:36 +02:00
2015-11-29 20:53:20 +02:00
2012-06-27 21:22:12 +03:00
2015-11-29 20:53:20 +02:00
2013-01-12 17:51:54 +02:00
2012-02-11 19:39:36 +02:00
2016-06-24 19:02:58 +03:00
2015-11-29 18:19:32 +02:00
2015-11-29 21:01:33 +02:00
2012-02-11 19:39:36 +02:00
2015-11-29 21:01:33 +02:00
2015-01-06 02:49:13 +02:00
2012-08-19 16:53:15 +03:00
2014-07-02 12:38:47 +03:00
2012-02-11 19:39:36 +02:00
2015-10-10 18:38:37 +03:00
2015-03-29 22:27:00 +03:00
2015-08-01 21:08:11 +03:00
2012-02-11 19:39:36 +02:00
2012-02-11 19:39:36 +02:00
2012-02-11 19:39:36 +02:00
2015-12-28 18:12:03 +02:00
2012-08-07 16:07:25 +03:00
2015-01-06 02:49:13 +02:00
2015-03-29 16:43:03 +03:00
2015-03-29 16:40:55 +03:00
2015-01-06 02:49:13 +02:00
2012-08-07 16:07:25 +03:00
2012-02-11 19:39:36 +02:00
2015-11-29 21:01:33 +02:00
2015-03-29 16:38:37 +03:00
2016-03-27 21:44:49 +03:00
2012-02-11 19:39:36 +02:00
2012-08-16 22:34:35 +03:00
2016-03-27 21:44:49 +03:00
2015-11-29 18:19:32 +02:00
2015-11-29 18:19:32 +02:00
2015-08-27 20:42:14 +03:00
2015-08-27 20:42:14 +03:00
2015-11-29 18:19:32 +02:00
2015-11-29 18:19:32 +02:00
2016-05-23 20:40:12 +03:00
2016-05-23 20:40:12 +03:00
2016-05-23 20:40:12 +03:00
2016-03-16 21:34:01 +02:00
2016-06-11 12:21:08 +03:00
2015-12-04 20:08:31 +02:00
2016-05-23 20:40:12 +03:00