mirror of
https://github.com/curl/curl.git
synced 2025-02-11 14:50:40 +08:00
- Use CERT_CONTEXT's pbCertEncoded to determine chain order. CERT_CONTEXT from SECPKG_ATTR_REMOTE_CERT_CONTEXT contains end-entity/server certificate in pbCertEncoded. We can use this pointer to determine the order of certificates when enumerating hCertStore using CertEnumCertificatesInStore. This change is to help ensure that the ordering of the certificate chain requested by the user via CURLINFO_CERTINFO has the same ordering on all versions of Windows. Prior to this change Schannel certificate order was reversed in |
||
---|---|---|
.. | ||
bearssl.c | ||
bearssl.h | ||
gtls.c | ||
gtls.h | ||
hostcheck.c | ||
hostcheck.h | ||
keylog.c | ||
keylog.h | ||
mbedtls_threadlock.c | ||
mbedtls_threadlock.h | ||
mbedtls.c | ||
mbedtls.h | ||
openssl.c | ||
openssl.h | ||
rustls.c | ||
rustls.h | ||
schannel_int.h | ||
schannel_verify.c | ||
schannel.c | ||
schannel.h | ||
sectransp.c | ||
sectransp.h | ||
vtls_int.h | ||
vtls.c | ||
vtls.h | ||
wolfssl.c | ||
wolfssl.h | ||
x509asn1.c | ||
x509asn1.h |