diff options
author | Werner Koch <[email protected]> | 2003-06-27 20:53:09 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2003-06-27 20:53:09 +0000 |
commit | f5db59fc21f172a2a71ed0c10f249efaa7ad794e (patch) | |
tree | 4d6e8c746037a053f972c2da4da1575bb076e4fd /sm/server.c | |
parent | Finished the bulk of changes for gnupg 1.9. This included switching (diff) | |
download | gnupg-f5db59fc21f172a2a71ed0c10f249efaa7ad794e.tar.gz gnupg-f5db59fc21f172a2a71ed0c10f249efaa7ad794e.zip |
Key generation and signing using the OpenPGP card does rudimentary work.
Diffstat (limited to 'sm/server.c')
-rw-r--r-- | sm/server.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sm/server.c b/sm/server.c index 60f553bee..dda150964 100644 --- a/sm/server.c +++ b/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 /* |