diff options
author | Matt Caswell <matt@openssl.org> | 2020-03-25 12:12:59 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-03-27 11:12:27 +0000 |
commit | 6b1e5fa4873ff2f7741f996961f26ab9818ee190 (patch) | |
tree | bdadaacc076978ce4b1bca51100414319ac7e682 /include | |
parent | 9727f4e7fd02e55b637058249cd8e1bc80501c7f (diff) |
Put an error on the stack in the event of a fetch failure
Fetch failures are a common problem and it is useful to have detailed
information about what was requested in the event of a failure.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11405)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/cryptlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/internal/cryptlib.h b/include/internal/cryptlib.h index 19e2c9744e..9a60f413bf 100644 --- a/include/internal/cryptlib.h +++ b/include/internal/cryptlib.h @@ -165,6 +165,7 @@ typedef struct openssl_ctx_method { } OPENSSL_CTX_METHOD; OPENSSL_CTX *openssl_ctx_get_concrete(OPENSSL_CTX *ctx); +int openssl_ctx_is_default(OPENSSL_CTX *ctx); /* Functions to retrieve pointers to data by index */ void *openssl_ctx_get_data(OPENSSL_CTX *, int /* index */, |