diff options
author | Benjamin Kaduk <bkaduk@akamai.com> | 2016-02-29 22:47:12 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-05-08 21:20:31 +0200 |
commit | 7671342e550ed2de676b23c79d0e7f45a381c76e (patch) | |
tree | d474ef749646ba89f5001634955e229a0a60b580 /util | |
parent | Add PEM_read_bio_ex (diff) | |
download | openssl-7671342e550ed2de676b23c79d0e7f45a381c76e.tar.xz openssl-7671342e550ed2de676b23c79d0e7f45a381c76e.zip |
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)
Diffstat (limited to 'util')
-rw-r--r-- | util/libcrypto.num | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/libcrypto.num b/util/libcrypto.num index fa14ab4c55..d6c122d973 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -4289,3 +4289,4 @@ ESS_SIGNING_CERT_V2_free 4231 1_1_1 EXIST::FUNCTION:TS ESS_SIGNING_CERT_V2_dup 4232 1_1_1 EXIST::FUNCTION:TS ESS_CERT_ID_V2_new 4233 1_1_1 EXIST::FUNCTION:TS PEM_read_bio_ex 4234 1_1_1 EXIST::FUNCTION: +PEM_bytes_read_bio_secmem 4235 1_1_1 EXIST::FUNCTION: |