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/encoder_meth.c | |
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/encode_decode/encoder_meth.c')
-rw-r--r-- | crypto/encode_decode/encoder_meth.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/encode_decode/encoder_meth.c b/crypto/encode_decode/encoder_meth.c index 191ca8640f..490eeb2e0a 100644 --- a/crypto/encode_decode/encoder_meth.c +++ b/crypto/encode_decode/encoder_meth.c @@ -88,7 +88,7 @@ struct encoder_data_st { const char *names; /* For get_encoder_from_store() */ const char *propquery; /* For get_encoder_from_store() */ - unsigned int flag_construct_error_occured : 1; + unsigned int flag_construct_error_occurred : 1; }; /* @@ -280,7 +280,7 @@ static void *construct_encoder(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; } @@ -352,7 +352,7 @@ static OSSL_ENCODER *inner_ossl_encoder_fetch(OSSL_LIB_CTX *libctx, 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_ENCODER, 0 /* !force_cache */, &mcm, &mcmdata)) != NULL) { @@ -372,7 +372,7 @@ static OSSL_ENCODER *inner_ossl_encoder_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) { |