summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNiels Martignène <niels.martignene@protonmail.com>2022-01-11 03:25:00 -0500
committerJay Satiro <raysatiro@yahoo.com>2022-01-15 16:57:36 -0500
commit6c084fd47ca69e9d93c062ba76ce7f3c4b4f78a6 (patch)
tree28c16246ae53ed0ef2375bdddb3c54ac5360f757 /include
parent3aee3612b466418612c685cc9dfb2878ff3ad89c (diff)
downloadcurl-6c084fd47ca69e9d93c062ba76ce7f3c4b4f78a6.tar.gz
mbedtls: fix CURLOPT_SSLCERT_BLOB (again)
- Increase the buffer length passed to mbedtls_x509_crt_parse to account for the null byte appended to the temporary blob. Follow-up to 867ad1c which uses a null terminated copy of the certificate blob, because mbedtls_x509_crt_parse requires PEM data to be null terminated. Ref: https://github.com/curl/curl/commit/867ad1c#r63439893 Ref: https://github.com/curl/curl/pull/8146 Closes https://github.com/curl/curl/pull/8260
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions