diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-01-22 09:06:40 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-01-22 09:06:40 +0000 |
commit | 70977550b4851508555e31f6e0c580300b939820 (patch) | |
tree | ac4dc65a81cc36e2e10c56656318a9385af4e60f /lib/libcrypto/mem_clr.c | |
parent | 46ff5d91eb81e3e741d47f19b1f21c3cc5842b55 (diff) |
Add X509_STORE_load_mem() to load certificates from a memory buffer
instead of disk. OpenSSL didn't provide a built-in API from loading
certificates in a chroot'ed process that doesn't have direct access to
the files. X509_STORE_load_mem() provides a new backend that will be
used by libssl and libtls to implement such privsep-friendly
functionality.
Adopted for LibreSSL based on older code from relayd (by pyr@ and myself)
With feedback and OK bluhm@
Diffstat (limited to 'lib/libcrypto/mem_clr.c')
0 files changed, 0 insertions, 0 deletions