summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2015-01-22 09:06:39 +0000
committerreyk <reyk@openbsd.org>2015-01-22 09:06:39 +0000
commite0d5ea162a855489a21c60884ae351f9d9390bab (patch)
tree0b56607d58eb3daed21b96d79ef0a4d240c41ce9 /lib/libssl/ssl_lib.c
parentdelete annoying white space that annoy (diff)
downloadwireguard-openbsd-e0d5ea162a855489a21c60884ae351f9d9390bab.tar.xz
wireguard-openbsd-e0d5ea162a855489a21c60884ae351f9d9390bab.zip
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/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions