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/encode_decode/decoder_meth.c | |
parent | 33ac7b324bdf6791b3ec4a2e3bde74fee8686ff4 (diff) | |
download | openssl-new-e3a2ba75474eebffe14b4bab1a34a1c2012a3888.tar.gz |
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/encode_decode/decoder_meth.c')
-rw-r--r-- | crypto/encode_decode/decoder_meth.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/encode_decode/decoder_meth.c b/crypto/encode_decode/decoder_meth.c index 6baf5836e8..c2182c2e53 100644 --- a/crypto/encode_decode/decoder_meth.c +++ b/crypto/encode_decode/decoder_meth.c @@ -88,7 +88,7 @@ struct decoder_data_st { const char *names; /* For get_decoder_from_store() */ const char *propquery; /* For get_decoder_from_store() */ - unsigned int flag_construct_error_occured : 1; + unsigned int flag_construct_error_occurred : 1; }; /* @@ -268,7 +268,7 @@ static void *construct_decoder(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; } @@ -340,7 +340,7 @@ static OSSL_DECODER *inner_ossl_decoder_fetch(OSSL_LIB_CTX *libctx, int id, mcmdata.id = id; mcmdata.names = name; mcmdata.propquery = properties; - mcmdata.flag_construct_error_occured = 0; + mcmdata.flag_construct_error_occurred = 0; if ((method = ossl_method_construct(libctx, OSSL_OP_DECODER, 0 /* !force_cache */, &mcm, &mcmdata)) != NULL) { @@ -360,7 +360,7 @@ static OSSL_DECODER *inner_ossl_decoder_fetch(OSSL_LIB_CTX *libctx, int id, * 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) { |