Add a uint8_t type for expandable byte storage

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Unassigned
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: