aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/getkey.c2
-rw-r--r--g10/parse-packet.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/g10/getkey.c b/g10/getkey.c
index f8cb869a7..9267dbbdd 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -52,7 +52,6 @@ struct getkey_ctx_s
KBPOS kbpos;
KBNODE found_key; /* Pointer into some keyblock. */
strlist_t extra_list; /* Will be freed when releasing the context. */
- int last_rc;
int req_usage;
int req_algo;
KEYDB_HANDLE kr_handle;
@@ -2587,7 +2586,6 @@ found:
release_kbnode (ctx->keyblock);
ctx->keyblock = NULL;
- ctx->last_rc = rc;
return rc;
}
diff --git a/g10/parse-packet.c b/g10/parse-packet.c
index 1de7307f1..f3b4f49b5 100644
--- a/g10/parse-packet.c
+++ b/g10/parse-packet.c
@@ -1954,7 +1954,7 @@ parse_key (IOBUF inp, int pkttype, unsigned long pktlen,
else if (version == 4)
{
/* The only supported version. Use an older gpg
- versions (i.e. gpg 1.4 to parse v3 packets). */
+ version (i.e. gpg 1.4) to parse v3 packets. */
}
else if (version == 2 || version == 3)
{