diff --git a/library/spdm_responder_lib/libspdm_rsp_csr.c b/library/spdm_responder_lib/libspdm_rsp_csr.c index 6f457c192f3..a0fbd3c1d62 100644 --- a/library/spdm_responder_lib/libspdm_rsp_csr.c +++ b/library/spdm_responder_lib/libspdm_rsp_csr.c @@ -161,7 +161,7 @@ libspdm_return_t libspdm_get_response_csr(void *context, size_t request_size, } libspdm_copy_mem(spdm_response + 1, spdm_response->csr_length, - csr_pointer, spdm_response->csr_length); + csr_p, spdm_response->csr_length); return LIBSPDM_STATUS_SUCCESS; }