diff options
author | Richard Levitte <levitte@openssl.org> | 2017-06-29 21:47:54 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-06-29 22:11:40 +0200 |
commit | 5ee407460b3b68aa4695f17cf8c43e0d07cb18a8 (patch) | |
tree | 74b5bced7daa6b7b76b47a0c9d786df922fd3f91 /include/openssl/storeerr.h | |
parent | 6f9c5062682c0f30d62af54b15ad6904e4dd8cb6 (diff) | |
download | openssl-new-5ee407460b3b68aa4695f17cf8c43e0d07cb18a8.tar.gz |
STORE: Make sure the loader to be registered is complete
Most of the loader function pointers are crucial, they must be defined
unconditionally. Therefore, let's make sure OSSL_STORE_register_loader
refuses to register incomplete loaders
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/3805)
Diffstat (limited to 'include/openssl/storeerr.h')
-rw-r--r-- | include/openssl/storeerr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/storeerr.h b/include/openssl/storeerr.h index 4e0818d7ac..b1d23de64a 100644 --- a/include/openssl/storeerr.h +++ b/include/openssl/storeerr.h @@ -62,6 +62,7 @@ int ERR_load_OSSL_STORE_strings(void); # define OSSL_STORE_R_ERROR_VERIFYING_PKCS12_MAC 113 # define OSSL_STORE_R_INVALID_SCHEME 106 # define OSSL_STORE_R_IS_NOT_A 112 +# define OSSL_STORE_R_LOADER_INCOMPLETE 116 # define OSSL_STORE_R_NOT_A_CERTIFICATE 100 # define OSSL_STORE_R_NOT_A_CRL 101 # define OSSL_STORE_R_NOT_A_KEY 102 |