Matt Caswell
020d8fc83f
Make sure OPENSSL_cleanse checks for NULL
...
In master we have the function OPENSSL_clear_free(x,y), which immediately
returns if x == NULL. In <=1.0.2 this function does not exist so we have to
do:
OPENSSL_cleanse(x, y);
OPENSSL_free(x);
However, previously, OPENSSL_cleanse did not check that if x == NULL, so
the real equivalent check would have to be:
if (x != NULL)
OPENSSL_cleanse(x, y);
OPENSSL_free(x);
It would be easy to get this wrong during cherry-picking to other branches
and therefore, for safety, it is best to just ensure OPENSSL_cleanse also
checks for NULL.
Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-09-17 22:29:08 +01:00
..
2015-08-10 12:13:32 -04:00
2015-09-17 17:18:59 +01:00
2015-08-10 12:13:32 -04:00
2015-09-03 16:26:34 -04:00
2015-09-11 04:51:55 +01:00
2015-09-03 16:26:34 -04:00
2015-08-10 12:13:32 -04:00
2015-08-10 12:13:32 -04:00
2015-05-22 18:44:33 +02:00
2015-09-11 23:10:29 +01:00
2015-09-03 16:26:34 -04:00
2015-09-03 16:26:34 -04:00
2015-08-10 12:13:32 -04:00
2015-09-11 04:51:55 +01:00
2015-09-11 04:51:55 +01:00
2015-09-02 22:05:37 -04:00
2015-09-14 23:53:03 +02:00
2015-08-10 12:13:32 -04:00
2015-09-12 01:53:52 +01:00
2015-09-16 12:40:55 +01:00
2015-05-22 18:44:33 +02:00
2015-09-17 21:42:38 +02:00
2015-09-03 16:26:34 -04:00
2015-08-10 12:13:32 -04:00
2015-09-17 17:18:59 +01:00
2015-05-22 18:44:33 +02:00
2015-09-03 16:26:34 -04:00
2015-08-10 12:13:32 -04:00
2015-08-10 12:13:32 -04:00
2015-08-10 12:13:32 -04:00
2015-05-22 18:44:33 +02:00
2015-07-14 01:10:01 +02:00
2015-09-03 16:26:34 -04:00
2015-09-11 04:51:55 +01:00
2015-08-10 12:13:32 -04:00
2015-04-20 15:06:22 +02:00
2015-09-06 12:56:33 +02:00
2015-09-01 20:01:38 +02:00
2015-09-02 22:05:37 -04:00
2015-09-08 23:14:36 -04:00
2015-08-10 12:13:32 -04:00
2015-08-10 12:13:32 -04:00
2015-08-10 12:13:32 -04:00
2015-08-10 12:13:32 -04:00
2015-09-03 16:26:34 -04:00
2015-05-22 18:44:33 +02:00
2015-08-10 12:13:32 -04:00
2015-09-11 18:16:23 +01:00
2015-09-04 11:45:44 -04:00
2015-09-02 22:05:37 -04:00
2015-06-21 21:45:48 +02:00
2015-09-11 04:51:55 +01:00
2015-08-10 12:13:32 -04:00
2015-09-03 16:26:34 -04:00
2015-07-14 01:10:01 +02:00
2015-09-17 17:18:59 +01:00
2015-09-16 22:33:25 +01:00
2011-08-12 12:28:52 +00:00
2015-01-23 15:38:41 +01:00
2015-01-22 09:20:09 +00:00
2015-04-20 15:06:22 +02:00
2015-04-20 15:06:22 +02:00
2014-05-04 16:38:32 +02:00
2015-07-20 01:16:28 -04:00
2015-05-14 17:21:40 +02:00
2015-07-16 01:06:48 -04:00
2015-05-14 17:21:40 +02:00
2015-04-04 17:05:49 +02:00
2015-07-20 01:16:28 -04:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2011-05-07 20:36:05 +00:00
2015-05-13 15:08:10 +01:00
2015-05-14 17:21:40 +02:00
2015-01-22 09:20:09 +00:00
2015-05-05 22:18:59 -04:00
2015-05-05 22:18:59 -04:00
2015-01-22 09:20:09 +00:00
2015-05-05 22:18:59 -04:00
2015-01-22 09:20:09 +00:00
2015-06-23 17:09:35 -04:00
2015-09-17 22:29:08 +01:00
2015-05-14 17:21:40 +02:00
2015-09-02 22:05:37 -04:00
2015-05-14 15:13:49 +02:00
2015-05-14 15:13:49 +02:00
2015-05-14 17:21:40 +02:00
2015-02-02 11:08:16 -05:00
2015-05-14 15:13:49 +02:00
2015-09-02 23:03:43 -04:00
2015-09-08 23:14:36 -04:00
2013-06-18 10:37:00 +02:00
2015-01-22 09:20:09 +00:00
2015-08-05 22:06:01 -04:00
2014-06-04 08:34:18 +02:00
2015-01-22 09:20:09 +00:00
2011-04-17 12:46:00 +00:00
2015-09-11 04:51:55 +01:00
2015-01-22 09:20:09 +00:00
2015-07-14 01:10:01 +02:00
2015-02-02 11:08:16 -05:00
2015-05-14 17:21:40 +02:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2014-02-14 17:24:12 +01:00
2014-08-09 08:02:20 -04:00