mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
Fix indentation in generated C file
The indentation now complies with Emacs's "k&r" style.
This commit is contained in:
parent
ddeb55ad32
commit
23b9d149a2
@ -71,8 +71,8 @@ static int psa_snprint_algorithm(char *buffer, size_t buffer_size,
|
|||||||
psa_algorithm_t padding_mode = -1;
|
psa_algorithm_t padding_mode = -1;
|
||||||
psa_algorithm_t alg_without_padding = alg;
|
psa_algorithm_t alg_without_padding = alg;
|
||||||
if (PSA_ALG_IS_CIPHER(alg) && PSA_ALG_IS_BLOCK_CIPHER(alg)) {
|
if (PSA_ALG_IS_CIPHER(alg) && PSA_ALG_IS_BLOCK_CIPHER(alg)) {
|
||||||
padding_mode = alg & PSA_ALG_BLOCK_CIPHER_PADDING_MASK;
|
padding_mode = alg & PSA_ALG_BLOCK_CIPHER_PADDING_MASK;
|
||||||
alg_without_padding = alg & ~PSA_ALG_BLOCK_CIPHER_PADDING_MASK;
|
alg_without_padding = alg & ~PSA_ALG_BLOCK_CIPHER_PADDING_MASK;
|
||||||
}
|
}
|
||||||
switch (alg_without_padding) {
|
switch (alg_without_padding) {
|
||||||
%(algorithm_cases)s
|
%(algorithm_cases)s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user