]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
temporarily mangle it all onto one line
authorAlan T. DeKok <aland@freeradius.org>
Fri, 9 Apr 2021 14:40:44 +0000 (10:40 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 9 Apr 2021 14:40:44 +0000 (10:40 -0400)
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

src/tests/auth/digest.attrs

index 6affb93b825d0d090553ee349028f1835843e5c6..eadb8a012edb4ff6ed2506c9dacea75fe5106ddf 100644 (file)
 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