Skip to content

Commit f615153

Browse files
committed
format
1 parent ce988fd commit f615153

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/mongocrypt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ MONGOCRYPT_EXPORT
11971197
void mongocrypt_kms_ctx_reset(mongocrypt_kms_ctx_t *kms);
11981198

11991199
/**
1200-
* Indicate if a KMS is completed but should be retried due to an HTTP error.
1200+
* Indicate if a KMS context is completed but should be retried due to an HTTP error.
12011201
*
12021202
* @param[in] kms The @ref mongocrypt_kms_ctx_t.
12031203
* @return A boolean indicating whether the failed request is complete but should be retried.

test/test-mongocrypt-datakey.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,8 @@ static void _test_create_datakey_with_retry(_mongocrypt_tester_t *tester) {
496496
// Expect no sleep is requested before any error.
497497
ASSERT_CMPINT64(mongocrypt_kms_ctx_usleep(kms_ctx), ==, 0);
498498
// Feed part of a response
499-
ASSERT_OK(mongocrypt_kms_ctx_feed(kms_ctx, TEST_FILE("./test/data/kms-aws/encrypt-response-partial.txt")), kms_ctx);
499+
ASSERT_OK(mongocrypt_kms_ctx_feed(kms_ctx, TEST_FILE("./test/data/kms-aws/encrypt-response-partial.txt")),
500+
kms_ctx);
500501
// Assume a network error and reset the context.
501502
mongocrypt_kms_ctx_reset(kms_ctx);
502503
// Feed a successful response.

0 commit comments

Comments
 (0)