openssl/crypto/store
Richard Levitte 140dab3d3a Clear error stack on successful OSSL_STORE_open()
Since OSSL_STORE_open() tries with the 'file' scheme loader first, and
then on the loader implied by the URI if the former fails, the former
leaves an error on the error stack.  This is confusing, so let's clear
the error stack on success.  The implementation uses ERR_set_mark,
ERR_pop_to_mark and ERR_clear_last_mark to make sure caller errors are
preserved as much as possible.

Fixes #4089

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4094)
2017-08-15 14:28:23 +02:00
..
build.info Add a STORE loader for the "file" scheme 2017-06-29 11:55:31 +02:00
loader_file.c Use OPENSSL_secure_clear_free in STORE file_load 2017-07-29 19:31:11 +02:00
store_err.c OSSL_STORE: spell error reason correctly 2017-07-15 18:53:07 +02:00
store_init.c Add a STORE loader for the "file" scheme 2017-06-29 11:55:31 +02:00
store_lib.c Clear error stack on successful OSSL_STORE_open() 2017-08-15 14:28:23 +02:00
store_locl.h Add internal functions to fetch PEM data from an opened BIO 2017-06-29 19:25:39 +02:00
store_register.c Fixups for STORE commit 2017-07-27 14:29:48 -05:00
store_strings.c Add the STORE module 2017-06-29 11:55:31 +02:00