Skip to content

Commit

Permalink
Merge pull request #52 from vuittont60/main
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
lean-apple authored Feb 9, 2024
2 parents f904718 + 2ce0dc1 commit 737a9fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/src/ra_ias.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static size_t ParseReportResponseBody(const void* contents, size_t size,
size_t content_length = size * nmemb;
RaIasReport* report = RCAST(RaIasReport*, response);

// The json response body maybe will be splited into two times
// The json response body maybe will be split into two times
report->mutable_response_body()->append(body, content_length);

rapidjson::Document doc;
Expand Down Expand Up @@ -145,7 +145,7 @@ void RaIasClient::InitIasConnection(const std::string& endpoint) {
curl_easy_setopt(curl_, CURLOPT_HTTPHEADER, headers_);
curl_easy_setopt(curl_, CURLOPT_USERAGENT, "sgx-sp/1.0");

/* set commom option */
/* set common option */
curl_easy_setopt(curl_, CURLOPT_FORBID_REUSE, 1L);
curl_easy_setopt(curl_, CURLOPT_NOSIGNAL, 1L);
curl_easy_setopt(curl_, CURLOPT_TIMEOUT, 60L);
Expand Down
2 changes: 1 addition & 1 deletion lib/src/ra_json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ TeeErrorCode JsonConfig::LoadConfiguration(const std::string& filename) {

TeeJsonDocPtr doc(new rapidjson::Document);
if (doc.get()->Parse(config_str.data()).HasParseError()) {
TEE_LOG_ERROR("Fail to parse json configration file");
TEE_LOG_ERROR("Fail to parse json configuration file");
return TEE_ERROR_PARSE_CONFIGURATIONS;
}

Expand Down
2 changes: 1 addition & 1 deletion resources/signing/paths/deposit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ post:
$ref: "../../keygen/schemas.yaml#/components/schemas/Pubkey"
responses:
'200':
description: 'Success reponse: a JSON encoded DepositResponse'
description: 'Success response: a JSON encoded DepositResponse'
content:
application/json:
schema:
Expand Down

0 comments on commit 737a9fa

Please sign in to comment.