summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorreyk <>2015-01-22 09:06:39 +0000
committerreyk <>2015-01-22 09:06:39 +0000
commit862d0b8723d1dd780e301615518a21818f474a9c (patch)
tree36f1b0fc5da8868b5097698833f099e006a10cb8 /src/lib/libssl/ssl_lib.c
parent73b53ad2b9ca5a0e4886f94385b99828a5601e2f (diff)
downloadopenbsd-862d0b8723d1dd780e301615518a21818f474a9c.tar.gz
openbsd-862d0b8723d1dd780e301615518a21818f474a9c.tar.bz2
openbsd-862d0b8723d1dd780e301615518a21818f474a9c.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 'src/lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions