summaryrefslogtreecommitdiffstats
path: root/agent/pksign.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/pksign.c')
-rw-r--r--agent/pksign.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/agent/pksign.c b/agent/pksign.c
index 3474f9434..76b0c3f85 100644
--- a/agent/pksign.c
+++ b/agent/pksign.c
@@ -304,6 +304,11 @@ agent_pksign_do (ctrl_t ctrl, const char *cache_nonce,
data = overridedata;
datalen = overridedatalen;
}
+ else if (ctrl->digest.data)
+ {
+ data = ctrl->digest.data;
+ datalen = ctrl->digest.valuelen;
+ }
else
{
data = ctrl->digest.value;