summaryrefslogtreecommitdiff
path: root/src/irmd/reg/name.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2026-02-15 22:31:33 +0100
committerSander Vrijders <sander@ouroboros.rocks>2026-02-18 07:53:23 +0100
commit46cc58fe1a89903f4ef928caeee1bec96ab5967b (patch)
tree36c5038ae64d5e89de627fd0ebfc338f126c5554 /src/irmd/reg/name.c
parent85cc8d28d263a8b8ff04d90622311f5d68e26e6f (diff)
downloadouroboros-46cc58fe1a89903f4ef928caeee1bec96ab5967b.tar.gz
ouroboros-46cc58fe1a89903f4ef928caeee1bec96ab5967b.zip
irmd: Fix client-side encryption request
When the server had no cipher configured, sk->nid was set to NID_undef before negotiation and never updated, causing the response header to encode NID_undef as the cipher — even though negotiate_kex() correctly populated kcfg.c.nid from the client's request. Adds a test for the KEM case where the client request encryption with nothing specified server-side. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/irmd/reg/name.c')
0 files changed, 0 insertions, 0 deletions