Skip to content

Commit

Permalink
Change logical negation to bitwise negation
Browse files Browse the repository at this point in the history
Fix #2768.

Signed-off-by: Steven Bellock <[email protected]>
  • Loading branch information
steven-bellock authored and jyao1 committed Aug 20, 2024
1 parent 8b95512 commit 9cf6658
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unit_test/test_spdm_requester/encap_key_update.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,9 +414,9 @@ void test_libspdm_requester_encap_key_update_case4(void **state)

/*no capabilities*/
spdm_context->connection_info.capability.flags &=
!SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_KEY_UPD_CAP;
~SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_KEY_UPD_CAP;
spdm_context->local_context.capability.flags &=
!SPDM_GET_CAPABILITIES_REQUEST_FLAGS_KEY_UPD_CAP;
~SPDM_GET_CAPABILITIES_REQUEST_FLAGS_KEY_UPD_CAP;

session_info = &spdm_context->session_info[0];
secured_message_context = session_info->secured_message_context;
Expand Down

0 comments on commit 9cf6658

Please sign in to comment.