From d5021a4e2cce24fcb938786eb83a858af716a42c Mon Sep 17 00:00:00 2001 From: HimbeerserverDE Date: Wed, 26 Jul 2023 16:46:29 +0200 Subject: fix CHAP Success reference buffer codes --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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())?; -- cgit v1.2.3