openssl/crypto/pem
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
..
build.info unified build scheme: add build.info files 2016-02-01 12:46:58 +01:00
pem_all.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pem_err.c Add PEM_read_bio_ex 2017-05-08 21:17:28 +02:00
pem_info.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pem_lib.c Add PEM_bytes_read_bio_secmem() 2017-05-08 21:20:31 +02:00
pem_oth.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
pem_pk8.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
pem_pkey.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
pem_sign.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
pem_x509.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pem_xaux.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pvkfmt.c Fix MSBLOB format with RSA. 2016-11-17 03:53:02 +00:00