aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-07-26 16:46:29 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-07-26 16:46:29 +0200
commitd5021a4e2cce24fcb938786eb83a858af716a42c (patch)
tree53d747bcc2ebb0ea384286862c388a7ff2c11fb3 /src
parentc888787d45131de04ae01f3a1ba547885345ba1c (diff)
fix CHAP Success reference buffer codes
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 260b100..a9e1a56 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1191,7 +1191,7 @@ mod tests {
&buf,
&[
0x00, 0x00, 0x5e, 0x00, 0x53, 0x01, 0x00, 0x00, 0x5e, 0x00, 0x53, 0x02, 0x88, 0x64,
- 0x11, 0x00, 0x00, 0x01, 0x00, 0x09, 0xc2, 0x23, 0x02, 0x41, 0x00, 0x07, 0x66, 0x6f,
+ 0x11, 0x00, 0x00, 0x01, 0x00, 0x09, 0xc2, 0x23, 0x03, 0x41, 0x00, 0x07, 0x66, 0x6f,
0x6f
]
);
@@ -1204,7 +1204,7 @@ mod tests {
let buf = [
0x00, 0x00, 0x5e, 0x00, 0x53, 0x01, 0x00, 0x00, 0x5e, 0x00, 0x53, 0x02, 0x88, 0x64,
- 0x11, 0x00, 0x00, 0x01, 0x00, 0x09, 0xc2, 0x23, 0x01, 0x41, 0x00, 0x07, 0x66, 0x6f,
+ 0x11, 0x00, 0x00, 0x01, 0x00, 0x09, 0xc2, 0x23, 0x03, 0x41, 0x00, 0x07, 0x66, 0x6f,
0x6f,
];
success.deserialize(&mut buf.as_ref())?;