|
Background & Motivation
See this thread for context. The kms_request_str_t is used as byte storage in kms_kmip_response_parser_t. Using kms_request_str_t for arbitrary byte storage mixes intentions. It stores a char* but kms_kmip_response_parser requires casting to a uint8_t*. And kms_request_str_t NULL terminates the stored str, which does not apply to byte storage.
Scope
- Create a new kms_buffer_t which supports appending.
- Replace the use of kms_request_str in kms_response_parser_t with kms_buffer_t
|