Skip to content

Commit

Permalink
MONGOCRYPT-766 Fix compilation in C23 (#945)
Browse files Browse the repository at this point in the history
Fix compilation in C23
  • Loading branch information
jeroen authored Jan 28, 2025
1 parent a92a6f1 commit 34a9572
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kms-message/src/kms_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ kms_request_get_signed (kms_request_t *request)
}

if (!check_and_prohibit_kmip (request)) {
return false;
return NULL;
}

if (!finalize (request)) {
Expand Down Expand Up @@ -857,11 +857,11 @@ kms_request_to_string (kms_request_t *request)
size_t i;

if (!finalize (request)) {
return false;
return NULL;
}

if (!check_and_prohibit_kmip (request)) {
return false;
return NULL;
}

if (request->to_string) {
Expand Down

0 comments on commit 34a9572

Please sign in to comment.