mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Key generation and signing using the OpenPGP card does rudimentary work.
This commit is contained in:
parent
ed0d33f1d0
commit
f5db59fc21
50 changed files with 1535 additions and 449 deletions
11
sm/server.c
11
sm/server.c
|
@ -991,7 +991,18 @@ gpgsm_status (CTRL ctrl, int no, const char *text)
|
|||
gpgsm_status2 (ctrl, no, text, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
gpgsm_status_with_err_code (CTRL ctrl, int no, const char *text,
|
||||
gpg_err_code_t ec)
|
||||
{
|
||||
char buf[30];
|
||||
|
||||
sprintf (buf, "%u", (unsigned int)ec);
|
||||
if (text)
|
||||
gpgsm_status2 (ctrl, no, text, buf, NULL);
|
||||
else
|
||||
gpgsm_status2 (ctrl, no, buf, NULL);
|
||||
}
|
||||
|
||||
#if 0
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue