mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 15:58:29 +00:00
curl_stream: fix unused cert infos
When copying contents of the cURL certiinfo we duplicate the data but forget to actually put it into the vector.
This commit is contained in:
parent
fac42ff942
commit
a001846b25
@ -79,6 +79,7 @@ static int curls_certificate(git_cert **out, git_stream *stream)
|
||||
for (slist = certinfo->certinfo[0]; slist; slist = slist->next) {
|
||||
char *str = git__strdup(slist->data);
|
||||
GITERR_CHECK_ALLOC(str);
|
||||
git_vector_insert(&strings, str);
|
||||
}
|
||||
|
||||
/* Copy the contents of the vector into a strarray so we can expose them */
|
||||
|
Loading…
Reference in New Issue
Block a user