Benjamin Kaduk 7671342e55 Add PEM_bytes_read_bio_secmem()
Split the PEM_bytes_read_bio() implementation out into a
pem_bytes_read_bio_flags() helper, to allow it to pass PEM_FLAG_SECURE
as needed.  Adjust the cleanup to properly use OPENSSL_secure_free()
when needed, and reimplement PEM_bytes_read() as a wrapper around
the _flags helper.

Add documentation for PEM_bytes_read_bio() and the new secmem variant.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1700)
2017-05-08 21:20:31 +02:00
..
2017-04-25 11:13:39 +01:00
2017-03-12 08:27:30 -04:00
2017-03-20 16:25:22 -04:00
2017-03-11 08:56:44 -05:00
2017-03-11 08:56:44 -05:00
2017-03-11 08:56:44 -05:00
2017-03-11 08:56:44 -05:00
2017-03-11 08:56:44 -05:00
2017-04-07 13:48:19 -04:00
2017-03-11 08:56:44 -05:00
2017-03-11 08:56:44 -05:00
2017-03-11 08:56:44 -05:00
2017-03-11 08:56:44 -05:00
2017-03-29 07:14:29 +02:00
2017-03-11 08:56:44 -05:00
2017-03-11 08:56:44 -05:00
2017-03-11 08:56:44 -05:00
2016-12-12 09:28:56 -05:00
2017-03-11 08:56:44 -05:00
2016-11-11 13:06:43 +01:00
2017-03-11 08:56:44 -05:00
2017-03-11 08:56:44 -05:00
2017-03-15 15:03:11 +01:00
2017-03-11 08:56:44 -05:00
2017-03-11 08:56:44 -05:00
2017-01-19 12:45:04 -05:00
2017-01-25 09:06:34 +00:00
2017-03-28 15:43:41 +01:00
2016-11-11 13:06:43 +01:00
2016-10-26 13:59:52 -04:00
2017-04-24 18:09:01 +02:00
2017-05-08 21:17:28 +02:00
2016-11-07 21:05:08 +01:00
2017-04-07 13:48:19 -04:00
2017-03-11 08:56:44 -05:00
2017-03-30 14:16:41 +02:00
2017-01-30 13:00:17 +00:00
2017-03-29 07:18:57 +02:00
2017-03-30 14:18:11 +02:00
2017-03-29 07:14:29 +02:00
2017-04-07 13:48:19 -04:00
2017-03-20 16:25:22 -04:00
2017-01-12 15:23:15 +01:00
2017-04-25 22:12:35 +01:00