Hello fprint enthusiasts and professionals.

I want to build a simple billing-solution with fingerprint authentication.
Therefor I will use a MySQL-Database and the enroll- and verify-examples
included in libfprint.
The fingerprints should be stored in the database (later in a seperate table
with restricted grants).

Now my problem.

When I enroll a fingerprint, the function "fp_print_data_get_data" returns
every time a bufferlength of 2414 Byte.
But when I insert this converted fingerprint in the database, there will
only be a string with max. 9 Byte (this is calculated in the
verify-program).
I think there is a problem with pointers and/or the datatype of the
db-attribute which should store the converted fingerprint.
I'm not very experienced in using pointers
(for example:
    unsigned char **ret;
    size_t length;

    length = fp_print_data_get_data(data,ret);
)
and large db-datatypes like blob or text, so I'm not sure what I do.

Can somebody help with a tip?

I have attached the source-files to this mail, so it's easier to comprehend
my problem.


Kind regards

Alexander

Attachment: fprint_01.tar.gz
Description: GNU Zip compressed data

_______________________________________________
fprint mailing list
fprint@reactivated.net
http://lists.reactivated.net/mailman/listinfo/fprint

Reply via email to