diff options
author | Tobias Nießen <tniessen@tnie.de> | 2021-03-02 18:15:32 +0100 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-03-04 10:17:20 +1000 |
commit | e3a2ba75474eebffe14b4bab1a34a1c2012a3888 (patch) | |
tree | 068fc1c7e51e840d0b3df86fe53c72acb1440c23 /crypto/store | |
parent | 33ac7b324bdf6791b3ec4a2e3bde74fee8686ff4 (diff) |
crypto: rename error flags in internal structures
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14405)
Diffstat (limited to 'crypto/store')
-rw-r--r-- | crypto/store/store_meth.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/store/store_meth.c b/crypto/store/store_meth.c index 04f7249ddc..c74a634e9e 100644 --- a/crypto/store/store_meth.c +++ b/crypto/store/store_meth.c @@ -93,7 +93,7 @@ struct loader_data_st { const char *scheme; /* For get_loader_from_store() */ const char *propquery; /* For get_loader_from_store() */ - unsigned int flag_construct_error_occured : 1; + unsigned int flag_construct_error_occurred : 1; }; /* @@ -253,7 +253,7 @@ static void *construct_loader(const OSSL_ALGORITHM *algodef, * record on inaccessible algorithms. */ if (method == NULL) - methdata->flag_construct_error_occured = 1; + methdata->flag_construct_error_occurred = 1; return method; } @@ -316,7 +316,7 @@ static OSSL_STORE_LOADER *inner_loader_fetch(OSSL_LIB_CTX *libctx, mcmdata.scheme_id = id; mcmdata.scheme = scheme; mcmdata.propquery = properties; - mcmdata.flag_construct_error_occured = 0; + mcmdata.flag_construct_error_occurred = 0; if ((method = ossl_method_construct(libctx, OSSL_OP_STORE, 0 /* !force_cache */, &mcm, &mcmdata)) != NULL) { @@ -335,7 +335,7 @@ static OSSL_STORE_LOADER *inner_loader_fetch(OSSL_LIB_CTX *libctx, * If we never were in the constructor, the algorithm to be fetched * is unsupported. */ - unsupported = !mcmdata.flag_construct_error_occured; + unsupported = !mcmdata.flag_construct_error_occurred; } if (method == NULL) { |