Skip to content

Commit

Permalink
[photon] crypto: fix typo in x509_parse_certificate_data_impl()
Browse files Browse the repository at this point in the history
  • Loading branch information
avtolstoy committed Jun 23, 2020
1 parent 9ab18b0 commit 4289408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hal/src/photon/crypto_compat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ static int32_t x509_parse_certificate_data_impl(x509_cert* crt, const unsigned c
}
ret = x509_crt_parse_der_core(cc, p + total_len, len - total_len);
if (ret == 0) {
total_len += c->raw.len;
total_len += cc->raw.len;
} else {
if (prev) {
prev->next = NULL;
Expand Down

0 comments on commit 4289408

Please sign in to comment.