summaryrefslogtreecommitdiff
path: root/src/stransport_stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stransport_stream.c')
-rw-r--r--src/stransport_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stransport_stream.c b/src/stransport_stream.c
index 10e19166c..33b6c5c38 100644
--- a/src/stransport_stream.c
+++ b/src/stransport_stream.c
@@ -108,7 +108,7 @@ int stransport_certificate(git_cert **out, git_stream *stream)
return -1;
}
- st->cert_info.cert_type = GIT_CERT_X509;
+ st->cert_info.parent.cert_type = GIT_CERT_X509;
st->cert_info.data = (void *) CFDataGetBytePtr(st->der_data);
st->cert_info.len = CFDataGetLength(st->der_data);