357
357
If a PIN is required the PINCB will be used to ask for the PIN;
358
358
that callback should return the PIN in an allocated buffer and
359
359
store that in the 3rd argument. */
361
361
do_sign (app_t app, const char *keyidstr, int hashalgo,
362
int (pincb)(void*, const char *, char **),
362
gpg_error_t (*pincb)(void*, const char *, char **),
367
367
static unsigned char sha1_prefix[15] = /* Object ID is 1.3.14.3.2.26 */
368
368
{ 0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2b, 0x0e, 0x03,