commit | fda367efa7924043d037da1f81f6f3083e886d2e | [log] [tgz] |
---|---|---|
author | Valerio Setti <vsetti@baylibre.com> | Mon Jan 09 17:21:17 2023 +0100 |
committer | Valerio Setti <vsetti@baylibre.com> | Tue Jan 10 08:56:35 2023 +0100 |
tree | bfae7244ca964def140ccd726a3949f644f37493 | |
parent | 70f0bbc8b2245a4a30753683febc18908fed9d8c [diff] [blame] |
changelog: fixed typos Signed-off-by: Valerio Setti <vsetti@baylibre.com>
diff --git a/library/x509write_crt.c b/library/x509write_crt.c index 55f22d7..0fd307c 100644 --- a/library/x509write_crt.c +++ b/library/x509write_crt.c
@@ -119,7 +119,7 @@ MBEDTLS_X509_RFC5280_MAX_SERIAL_LEN ); if( ret < 0 ) return ret; - + /* Copy data to the internal structure skipping leading zeros */ memcpy(ctx->serial, &tmp[MBEDTLS_X509_RFC5280_MAX_SERIAL_LEN - tmp_len], tmp_len);