Closed sosroz closed 2 years ago
When in SC, the OSDP_ISTATR response is being sent int the clear.
The fix would be to update _process_osdpmessage in src-lib/oo-util.c to change
_status = send_message (context, OSDP_ISTATR, p_card.addr, ¤t_length, sizeof (osdp_istat_response_data), osdp_istat_responsedata);
to
_status = send_message_ex (context, OSDP_ISTATR, p_card.addr, ¤t_length, sizeof (osdp_istat_response_data), osdp_istat_response_data, OSDP_SEC_SCS18, 0, NULL);
fixed
When in SC, the OSDP_ISTATR response is being sent int the clear.
The fix would be to update _process_osdpmessage in src-lib/oo-util.c to change
_status = send_message (context, OSDP_ISTATR, p_card.addr, ¤t_length, sizeof (osdp_istat_response_data), osdp_istat_responsedata);
to
_status = send_message_ex (context, OSDP_ISTATR, p_card.addr, ¤t_length, sizeof (osdp_istat_response_data), osdp_istat_response_data, OSDP_SEC_SCS18, 0, NULL);