libqaeda

Unnamed repository; edit this file 'description' to name the repository.
Info | Log | Files | Refs | README | LICENSE

commit 7901691e73be30411ae91c3bfe53b6a97f0d4a1a
parent f52b9961478e9dc05aa7d94388d02eefcd0e8bca
Author: lash <dev@holbrook.no>
Date:   Sun,  2 Mar 2025 18:24:13 +0000

Add request signature to response signature material

Diffstat:
Msrc/lq/cert.c | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/lq/cert.c b/src/lq/cert.c @@ -82,6 +82,12 @@ static int state_digest(LQCert *cert, char *out, int resolve_parent) { p += cert->request_sig->lolen; } + if (cert->response_sig != NULL) { + lq_cpy(p, cert->response_sig->losig, cert->response_sig->lolen); + c += cert->response_sig->lolen; + p += cert->response_sig->lolen; + } + return lq_digest(data, c, out); }