From 5ee407460b3b68aa4695f17cf8c43e0d07cb18a8 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 29 Jun 2017 21:47:54 +0200 Subject: 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 (Merged from https://github.com/openssl/openssl/pull/3805) --- include/openssl/storeerr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/openssl/storeerr.h') 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 -- cgit v1.2.1