We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a79b2c5 commit 53dc640Copy full SHA for 53dc640
src/token/realm.rs
@@ -28,7 +28,7 @@ bitmask! {
28
HashAlg = 0x10,
29
Rak = 0x20,
30
RakHashAlg = 0x40,
31
- Profile = 0x80,
+ Profile = 0x80,
32
}
33
34
@@ -89,6 +89,8 @@ impl Realm {
89
90
91
fn parse(&mut self, contents: Vec<(Value, Value)>) -> Result<(), Error> {
92
+ // Extract the profile claim first. This is because the RAK claim
93
+ // (44237) has different encodings depending on the profile value.
94
for (k, v) in contents.iter() {
95
if let Value::Integer(i) = k {
96
match (*i).into() {
0 commit comments