Skip to content

Commit 893831f

Browse files
Gate Requester event tests with ENCAP_CAP
Fix #3481. Signed-off-by: Steven Bellock <[email protected]>
1 parent 423fbd0 commit 893831f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unit_test/test_spdm_requester/test_spdm_requester.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Copyright Notice:
3-
* Copyright 2021-2025 DMTF. All rights reserved.
3+
* Copyright 2021-2026 DMTF. All rights reserved.
44
* License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/libspdm/blob/main/LICENSE.md
55
**/
66

@@ -259,7 +259,6 @@ int main(void)
259259
return_value = 1;
260260
}
261261
#endif /* LIBSPDM_ENABLE_CAPABILITY_ENDPOINT_INFO_CAP */
262-
#endif /* LIBSPDM_ENABLE_CAPABILITY_ENCAP_CAP */
263262
#if LIBSPDM_ENABLE_CAPABILITY_EVENT_CAP
264263
if (libspdm_req_encap_supported_event_types_test() != 0) {
265264
return_value = 1;
@@ -280,6 +279,7 @@ int main(void)
280279
return_value = 1;
281280
}
282281
#endif /* LIBSPDM_ENABLE_CAPABILITY_EVENT_CAP */
282+
#endif /* LIBSPDM_ENABLE_CAPABILITY_ENCAP_CAP */
283283
#if LIBSPDM_ENABLE_CAPABILITY_SET_CERT_CAP
284284
if (libspdm_req_set_certificate_test() != 0) {
285285
return_value = 1;

0 commit comments

Comments
 (0)