Matt Caswell a50a8a76dd 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>
(cherry picked from commit 020d8fc83fe1a94232db1ee1166309e2458a8a18)
2015-09-17 22:33:31 +01:00
..
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-17 21:45:28 +02:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2012-06-08 09:18:47 +00:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2015-09-15 12:00:18 -04:00
2011-08-12 12:31:08 +00:00
2015-02-09 13:01:28 +00:00
2015-05-26 09:58:12 +02:00
2015-04-22 17:24:47 +01:00
2015-01-22 09:38:39 +00:00
2015-01-22 09:38:39 +00:00
2015-01-22 09:38:39 +00:00
2015-01-22 09:38:39 +00:00
2015-07-09 13:29:59 +01:00
2015-07-14 01:18:57 +02:00
2015-01-22 09:38:39 +00:00