Skip to content

Commit

Permalink
fixup! Implement tr_serialize and tr_deserialize
Browse files Browse the repository at this point in the history
  • Loading branch information
brandsimon committed Oct 25, 2023
1 parent addc0ce commit b8eb40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tss-esapi/src/context/general_esys_tr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ impl Context {
)?;
unsafe {
let data = std::slice::from_raw_parts(&buffer, len.try_into().unwrap());
result.extend_from_slice(data);
result.extend_from_slice(*data);
// free buffer
Context::ffi_data_to_owned(buffer);
};
Expand Down

0 comments on commit b8eb40e

Please sign in to comment.