Hi all, When using the CURLINFO_CERTINFO, the documentation says that a struct curl_certinfo gets populated with the peer's certificate chain, and the certs are accessible through the 'certinfo' member, which is an array. I'm wondering whether this array is "ordered", in that certinfo[num_of_certs -1] would return the top cert in the chain (be it the root cert or the last intermediate). If not, what would be a good way to detect which cert is the top, other than sorting them by Subject/Issuer?
Thanks. ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
