summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-07-20 20:49:41 +0200
committerWerner Koch <wk@gnupg.org>2011-07-20 20:49:41 +0200
commitd4799069918bf04badcce751b78b121a5b6a7d78 (patch)
tree0de74aada989b5e40991bb883b2172369c7dd684 /common
parentNew functions to compute an ssh style fingerprint. (diff)
downloadgnupg2-d4799069918bf04badcce751b78b121a5b6a7d78.tar.xz
gnupg2-d4799069918bf04badcce751b78b121a5b6a7d78.zip
Support a confirm flag for ssh.
This implements the suggestion from bug#1349. With this change the fingerprint of the ssh key is also displayed in the pinentry prompts.
Diffstat (limited to 'common')
-rw-r--r--common/t-ssh-utils.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/common/t-ssh-utils.c b/common/t-ssh-utils.c
index cd1252fd2..a8a63cf73 100644
--- a/common/t-ssh-utils.c
+++ b/common/t-ssh-utils.c
@@ -27,13 +27,6 @@
#include "util.h"
#include "ssh-utils.h"
-#define pass() do { ; } while(0)
-#define fail(a,e) \
- do { fprintf (stderr, "%s:%d: test %d failed (%s)\n", \
- __FILE__,__LINE__, (a), gpg_strerror (e)); \
- exit (1); \
- } while(0)
-
static struct { const char *key; const char *fpr; } sample_keys[] = {
{ "(protected-private-key "