From 9c98521370a311ee9f6581ff71d0fac8987e32b8 Mon Sep 17 00:00:00 2001 From: Simon Brand Date: Wed, 25 Oct 2023 16:31:53 +0000 Subject: [PATCH] fixup! fixup! Implement tr_serialize and tr_deserialize Signed-off-by: Simon Brand --- .../context_tests/general_esys_tr_tests.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tss-esapi/tests/integration_tests/context_tests/general_esys_tr_tests.rs b/tss-esapi/tests/integration_tests/context_tests/general_esys_tr_tests.rs index dc695135..60fb49d4 100644 --- a/tss-esapi/tests/integration_tests/context_tests/general_esys_tr_tests.rs +++ b/tss-esapi/tests/integration_tests/context_tests/general_esys_tr_tests.rs @@ -469,11 +469,11 @@ mod test_tr_serialize_tr_deserialize { .key_handle; let data = context.tr_serialize(key_handle.into()).unwrap(); // Load handle in a new context - let mut context_new = create_ctx_with_session(); - let new_handle = context_new.tr_deserialize(data).unwrap().into(); + let mut new_context = create_ctx_with_session(); + let new_handle = new_context.tr_deserialize(data).unwrap().into(); assert_eq!( context.read_public(key_handle).unwrap(), - context_new.read_public(new_handle).unwrap() + new_context.read_public(new_handle).unwrap() ); } }