diff options
author | x2018 <xkernel.wang@foxmail.com> | 2021-10-26 15:16:18 +0800 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-10-28 13:10:46 +1000 |
commit | 1287dabd0b23326be491125698dd982e4ae28887 (patch) | |
tree | 3d6a62803bdd3d8ca9378eda3e7316a9c995c001 /engines/e_afalg.c | |
parent | 01451721afebabd0b7bdcd4cb3a183c9b590d266 (diff) |
fix some code with obvious wrong coding style
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/16918)
Diffstat (limited to 'engines/e_afalg.c')
-rw-r--r-- | engines/e_afalg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/e_afalg.c b/engines/e_afalg.c index 2c08cbb28d..193508430a 100644 --- a/engines/e_afalg.c +++ b/engines/e_afalg.c @@ -787,7 +787,7 @@ static int bind_afalg(ENGINE *e) * now, as bind_aflag can only be called by one thread at a * time. */ - for(i = 0; i < OSSL_NELEM(afalg_cipher_nids); i++) { + for (i = 0; i < OSSL_NELEM(afalg_cipher_nids); i++) { if (afalg_aes_cbc(afalg_cipher_nids[i]) == NULL) { AFALGerr(AFALG_F_BIND_AFALG, AFALG_R_INIT_FAILED); return 0; @@ -916,7 +916,7 @@ static int afalg_finish(ENGINE *e) static int free_cbc(void) { short unsigned int i; - for(i = 0; i < OSSL_NELEM(afalg_cipher_nids); i++) { + for (i = 0; i < OSSL_NELEM(afalg_cipher_nids); i++) { EVP_CIPHER_meth_free(cbc_handle[i]._hidden); cbc_handle[i]._hidden = NULL; } |