make pretty using clang-format 10
This commit is contained in:
+4
-4
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user