mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
sdcp: uncrustify
This commit is contained in:
@@ -43,7 +43,7 @@ struct _FpDeviceVirtualSdcp
|
|||||||
{
|
{
|
||||||
FpSdcpDevice parent;
|
FpSdcpDevice parent;
|
||||||
|
|
||||||
GPtrArray *print_ids;
|
GPtrArray *print_ids;
|
||||||
};
|
};
|
||||||
|
|
||||||
G_DECLARE_FINAL_TYPE (FpDeviceVirtualSdcp, fpi_device_virtual_sdcp, FPI, DEVICE_VIRTUAL_SDCP, FpSdcpDevice)
|
G_DECLARE_FINAL_TYPE (FpDeviceVirtualSdcp, fpi_device_virtual_sdcp, FPI, DEVICE_VIRTUAL_SDCP, FpSdcpDevice)
|
||||||
@@ -105,10 +105,10 @@ dev_identify (FpSdcpDevice *sdcp_device)
|
|||||||
if (self->print_ids->len > 0)
|
if (self->print_ids->len > 0)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Pretend that the virtual device identified the first print.
|
* Pretend that the virtual device identified the first print.
|
||||||
* Since we used a pre-generated enrollment_id for it, we can also use the
|
* Since we used a pre-generated enrollment_id for it, we can also use the
|
||||||
* matching pre-generated test identify data for its identification.
|
* matching pre-generated test identify data for its identification.
|
||||||
*/
|
*/
|
||||||
identify_nonce = g_bytes_from_hex (identify_nonce_hex);
|
identify_nonce = g_bytes_from_hex (identify_nonce_hex);
|
||||||
enrollment_id = g_bytes_from_hex (enrollment_id_hex);
|
enrollment_id = g_bytes_from_hex (enrollment_id_hex);
|
||||||
fpi_sdcp_device_set_identify_data (sdcp_device, identify_nonce);
|
fpi_sdcp_device_set_identify_data (sdcp_device, identify_nonce);
|
||||||
|
|||||||
@@ -277,6 +277,7 @@ void
|
|||||||
fpi_sdcp_device_enroll (FpSdcpDevice *self)
|
fpi_sdcp_device_enroll (FpSdcpDevice *self)
|
||||||
{
|
{
|
||||||
FpSdcpDeviceClass *cls = FP_SDCP_DEVICE_GET_CLASS (self);
|
FpSdcpDeviceClass *cls = FP_SDCP_DEVICE_GET_CLASS (self);
|
||||||
|
|
||||||
g_autoptr(GBytes) application_secret = NULL;
|
g_autoptr(GBytes) application_secret = NULL;
|
||||||
FpPrint *print;
|
FpPrint *print;
|
||||||
|
|
||||||
@@ -298,6 +299,7 @@ fpi_sdcp_device_identify (FpSdcpDevice *self)
|
|||||||
{
|
{
|
||||||
FpSdcpDevicePrivate *priv = fp_sdcp_device_get_instance_private (self);
|
FpSdcpDevicePrivate *priv = fp_sdcp_device_get_instance_private (self);
|
||||||
FpSdcpDeviceClass *cls = FP_SDCP_DEVICE_GET_CLASS (self);
|
FpSdcpDeviceClass *cls = FP_SDCP_DEVICE_GET_CLASS (self);
|
||||||
|
|
||||||
g_autoptr(GBytes) application_secret = NULL;
|
g_autoptr(GBytes) application_secret = NULL;
|
||||||
FpiDeviceAction action;
|
FpiDeviceAction action;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user