STORE 'file' scheme loader: add support for containers
authorRichard Levitte <levitte@openssl.org>
Mon, 5 Dec 2016 22:15:58 +0000 (23:15 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 29 Jun 2017 09:55:31 +0000 (11:55 +0200)
commite61ec2d9babf30da3a4d94554e576bf10c1fc92c
treeb3993a018ae68f1faecd3486fc8ce1d0346fb4c7
parente1613d9f253329e033c62d1ed7d0b7826bf82965
STORE 'file' scheme loader: add support for containers

Containers are objects that are containers for a bunch of other
objects with types we recognise but aren't readable in a stream.  Such
containers are read and parsed, and their content is cached, to be
served one object at a time.

This extends the FILE_HANDLER type to include a function to destroy
the cache and a function to simulate the EOF check.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3542)
crypto/err/openssl.txt
crypto/store/loader_file.c
crypto/store/store_err.c
include/openssl/storeerr.h