Add missing APDU return code
@@ -48,6 +48,7 @@ static void *field_encode(const uint8_t *const value,
start_idx = 0;
break;
default:
+ apdu_response_code = APDU_RESPONSE_CONDITION_NOT_SATISFIED;
return NULL; // should not be here
}
memcpy(&padded_value[start_idx], value, length);
