make pretty using clang-format 10

This commit is contained in:
Steve Karg
2020-06-19 14:44:32 -05:00
parent be57c73508
commit 15dce68947
71 changed files with 660 additions and 597 deletions
+4 -4
View File
@@ -70,7 +70,8 @@ int rd_encode_apdu(uint8_t *apdu,
if (password) {
/* Must be at least 1 character, limited to 20 characters */
if ((password->length >= 1) && (password->length <= 20)) {
len = encode_context_character_string(&apdu[apdu_len], 1, password);
len = encode_context_character_string(
&apdu[apdu_len], 1, password);
apdu_len += len;
}
}
@@ -120,9 +121,8 @@ int rd_decode_service_request(uint8_t *apdu,
&apdu[len], &tag_number, &len_value_type);
if (len < apdu_len) {
if (password) {
len += decode_character_string(&apdu[len],
len_value_type,
password);
len += decode_character_string(
&apdu[len], len_value_type, password);
}
}
}