aboutsummaryrefslogtreecommitdiffstats
path: root/agent/pkdecrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/pkdecrypt.c')
-rw-r--r--agent/pkdecrypt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/agent/pkdecrypt.c b/agent/pkdecrypt.c
index a66dd20f7..414d66f07 100644
--- a/agent/pkdecrypt.c
+++ b/agent/pkdecrypt.c
@@ -172,7 +172,7 @@ reverse_buffer (unsigned char *buffer, unsigned int length)
}
gpg_error_t
-agent_kem_decap (ctrl_t ctrl, const char *desc_text,
+agent_kem_decap (ctrl_t ctrl, const char *desc_text, int kemid,
const unsigned char *ciphertext, size_t ciphertextlen,
membuf_t *outbuf,
const unsigned char *option, size_t optionlen)
@@ -182,6 +182,8 @@ agent_kem_decap (ctrl_t ctrl, const char *desc_text,
gpg_error_t err = 0;
int no_shadow_info = 0;
+ /* IMPLEMENT: check ctrl->have_keygrip1, kem_decap, and call key combiner */
+
if (!ctrl->have_keygrip)
{
log_error ("speculative decryption not yet supported\n");