Skip to content

Commit 2e39adf

Browse files
committed
Changed nv index tpm handle in doc test.
- Changed so that the doc test for 'nv_read' context method uses a different NV index TPM handle value. In order to easier debug if a handle leak is detected in the tests. Signed-off-by: Jesper Brynolf <[email protected]>
1 parent ac7efa4 commit 2e39adf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tss-esapi/src/context/tpm_commands/non_volatile_storage.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ impl Context {
614614
/// # .expect("Failed to set attributes on session");
615615
/// # context.set_sessions((Some(session), None, None));
616616
/// #
617-
/// # let nv_index = NvIndexTpmHandle::new(0x01500025)
617+
/// # let nv_index = NvIndexTpmHandle::new(0x01500027)
618618
/// # .expect("Failed to create NV index tpm handle");
619619
/// #
620620
/// # // Create NV index attributes

0 commit comments

Comments
 (0)