diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2017-08-27 23:37:02 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2017-08-31 02:37:35 -0400 |
commit | aa2ea66cdac57868c821190dc30d6bb6d58b4a58 (patch) | |
tree | fb46efc61d3c7c4ff1399e1f74d0343bfc5528dc /lib/vtls/darwinssl.h | |
parent | 410bf6b7b18eb672d77eb0015e48410992468ed7 (diff) |
darwinssl: handle long strings in TLS certs (follow-up)
- Fix handling certificate subjects that are already UTF-8 encoded.
Follow-up to b3b75d1 from two days ago. Since then a copy would be
skipped if the subject was already UTF-8, possibly resulting in a NULL
deref later on.
Ref: https://github.com/curl/curl/issues/1823
Ref: https://github.com/curl/curl/pull/1831
Closes https://github.com/curl/curl/pull/1836
Diffstat (limited to 'lib/vtls/darwinssl.h')
0 files changed, 0 insertions, 0 deletions