aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-06-27 20:53:09 +0000
committerWerner Koch <[email protected]>2003-06-27 20:53:09 +0000
commitf5db59fc21f172a2a71ed0c10f249efaa7ad794e (patch)
tree4d6e8c746037a053f972c2da4da1575bb076e4fd /sm/gpgsm.c
parentFinished the bulk of changes for gnupg 1.9. This included switching (diff)
downloadgnupg-f5db59fc21f172a2a71ed0c10f249efaa7ad794e.tar.gz
gnupg-f5db59fc21f172a2a71ed0c10f249efaa7ad794e.zip
Key generation and signing using the OpenPGP card does rudimentary work.
Diffstat (limited to 'sm/gpgsm.c')
-rw-r--r--sm/gpgsm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c
index 8aebb1c1d..5157874a3 100644
--- a/sm/gpgsm.c
+++ b/sm/gpgsm.c
@@ -27,10 +27,10 @@
#include <unistd.h>
#include <fcntl.h>
+#include "gpgsm.h"
#include <gcrypt.h>
#include <assuan.h> /* malloc hooks */
-#include "gpgsm.h"
#include "../kbx/keybox.h" /* malloc hooks */
#include "i18n.h"
#include "keydb.h"
@@ -1095,7 +1095,7 @@ main ( int argc, char **argv)
if (rc)
{
log_error (_("can't sign using `%s': %s\n"),
- sl->d, gnupg_strerror (rc));
+ sl->d, gpg_strerror (rc));
gpgsm_status2 (&ctrl, STATUS_INV_RECP,
gpg_err_code (rc) == -1? "1":
gpg_err_code (rc) == GPG_ERR_NO_PUBKEY? "1":
@@ -1117,7 +1117,7 @@ main ( int argc, char **argv)
if (rc)
{
log_error (_("can't encrypt to `%s': %s\n"),
- sl->d, gnupg_strerror (rc));
+ sl->d, gpg_strerror (rc));
gpgsm_status2 (&ctrl, STATUS_INV_RECP,
gpg_err_code (rc) == -1? "1":
gpg_err_code (rc) == GPG_ERR_NO_PUBKEY? "1":