From 10a491fa4bc8adc6ae7fac6582200dee6d27788f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E6=A0=91=E4=BA=BA?= Date: Sat, 14 Sep 2024 16:17:53 +0100 Subject: [PATCH] test: fix ncm test --- um_crypto/ncm/src/header.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/um_crypto/ncm/src/header.rs b/um_crypto/ncm/src/header.rs index 6c9493a..b4edb70 100644 --- a/um_crypto/ncm/src/header.rs +++ b/um_crypto/ncm/src/header.rs @@ -218,7 +218,7 @@ fn test_load_ncm() -> Result<(), Error> { assert_eq!(ncm.image2, Some(b"IMAGE#2".to_vec())); let mut audio_data = ncm_header[ncm.audio_data_offset..].to_vec(); - ncm.decrypt(&mut audio_data, 0)?; + ncm.decrypt(&mut audio_data, 0); let actual = vec![ 0x49, 0x44, 0x33, 0x03, 0x00, 0x00, 0x00, 0x00, 0x01, 0x73, 0x54, 0x50, 0x45, 0x31, 0x00, ];