diff options
author | Werner Koch <[email protected]> | 2013-03-20 09:00:12 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2013-03-20 09:00:12 +0000 |
commit | eaa6dc3a8b4f31525650cd4785d6bafab86d68b7 (patch) | |
tree | 6552e846c825e2dae78d5ceefebee0e2acaeb27f /g10/call-dirmngr.c | |
parent | Add code to allow for late memory cleanup. (diff) | |
parent | gpg: Print indicator for unknown key capability. (diff) | |
download | gnupg-key-storage-work.tar.gz gnupg-key-storage-work.zip |
Merge branch 'master' into key-storage-workkey-storage-work
--
Diffstat (limited to 'g10/call-dirmngr.c')
-rw-r--r-- | g10/call-dirmngr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/call-dirmngr.c b/g10/call-dirmngr.c index 09ade4eb9..75f25f8a4 100644 --- a/g10/call-dirmngr.c +++ b/g10/call-dirmngr.c @@ -515,12 +515,12 @@ ks_put_inq_cb (void *opaque, const char *line) struct ks_put_parm_s *parm = opaque; gpg_error_t err = 0; - if (!strncmp (line, "KEYBLOCK", 8) && (line[8] == ' ' || !line[8])) + if (has_leading_keyword (line, "KEYBLOCK")) { if (parm->data) err = assuan_send_data (parm->ctx, parm->data, parm->datalen); } - else if (!strncmp (line, "KEYBLOCK_INFO", 13) && (line[13]==' ' || !line[13])) + else if (has_leading_keyword (line, "KEYBLOCK_INFO")) { kbnode_t node; estream_t fp; |