ipsec, imsd: two comments cite the part of RFC 3329 that holds their rule

That a Security-Verify mirrors the server's whole list is in 2.3.1, and
that an absent ealg means no encryption is in Appendix A, the syntax of
ipsec-3gpp; both comments named 2.2, the syntax of the header fields.
Comments only.
This commit is contained in:
Jorijn van der Graaf 2026-11-23 08:40:03 +01:00
commit 2ec2426597
Signed by: jorijnvdgraaf
GPG key ID: 2937E59CDCC1BCFB
2 changed files with 3 additions and 3 deletions

View file

@ -2085,7 +2085,7 @@ private:
std::vector<std::uint8_t> autn16(raw->begin() + 16, raw->begin() + 32);
// Every Security-Server instance is one comma-list (RFC 3261
// §7.3.1); the joined value is what Security-Verify echoes — RFC
// 3329 §2.2 wants the whole list back, not the chosen entry.
// 3329 §2.3.1 wants the whole list back, not the chosen entry.
auto ssLines = imsd::sip::Headers(resp, "Security-Server");
if (ssLines.empty()) throw std::runtime_error("no Security-Server");
ss_.clear();