From: Alan T. DeKok Date: Fri, 9 Apr 2021 14:40:44 +0000 (-0400) Subject: temporarily mangle it all onto one line X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=238d48cf93c7ca5a6a6a5dc556b5ab95058802a4;p=thirdparty%2Ffreeradius-server.git temporarily mangle it all onto one line unit_test_module hasn't been updated for the nested decoder changes. So if you give it a flat list, it will create a flat list. For now, just put it all onto one line. This gives us time to fix fr_pair_list_afrom_file() to read "relative" attributes --- diff --git a/src/tests/auth/digest.attrs b/src/tests/auth/digest.attrs index 6affb93b82..eadb8a012e 100644 --- a/src/tests/auth/digest.attrs +++ b/src/tests/auth/digest.attrs @@ -11,16 +11,17 @@ Packet-Type = Access-Request User-Name = "bob", Digest-Response = "bdbeebb2da6adb6bca02599c2239e192" -Digest-Attributes.Realm = "biloxi.com", -Digest-Attributes.Nonce = "dcd98b7102dd2f0e8b11d0f600bfb0c093", -Digest-Attributes.Method = "INVITE", -Digest-Attributes.URI = "sip:bob@biloxi.com", -Digest-Attributes.Algorithm = "MD5", -Digest-Attributes.User-Name = "bob", -Digest-Attributes.QOP = "auth-int", -Digest-Attributes.Nonce-Count = "00000001", -Digest-Attributes.CNonce = "0a4f113b", -Digest-Attributes.Body-Digest = "c1ed018b8ec4a3b170c0921f5b564e48", -Message-Authenticator = "" +Digest-Attributes = { Realm = "biloxi.com", Nonce = "dcd98b7102dd2f0e8b11d0f600bfb0c093", Method = "INVITE", URI = "sip:bob@biloxi.com", Algorithm = "MD5", User-Name = "bob", QOP = "auth-int", Nonce-Count = "00000001", CNonce = "0a4f113b", Body-Digest = "c1ed018b8ec4a3b170c0921f5b564e48" } + +#Digest-Attributes.Realm = "biloxi.com", +#Digest-Attributes.Nonce = "dcd98b7102dd2f0e8b11d0f600bfb0c093", +#Digest-Attributes.Method = "INVITE", +#Digest-Attributes.URI = "sip:bob@biloxi.com", +#Digest-Attributes.Algorithm = "MD5", +#Digest-Attributes.User-Name = "bob", +#Digest-Attributes.QOP = "auth-int", +#Digest-Attributes.Nonce-Count = "00000001", +#Digest-Attributes.CNonce = "0a4f113b", +#Digest-Attributes.Body-Digest = "c1ed018b8ec4a3b170c0921f5b564e48", Packet-Type == Access-Accept