PCERT_CONTEXT to QUIC_CERTIFICATE
@@ -564,7 +564,7 @@ CxPlatCertFree(
_Success_(return != FALSE)
BOOLEAN
CxPlatCertSelect(
- _In_opt_ PCCERT_CONTEXT CertCtx,
+ _In_opt_ QUIC_CERTIFICATE* Certificate,
_In_reads_(SignatureAlgorithmsLength)
const uint16_t *SignatureAlgorithms,
_In_ size_t SignatureAlgorithmsLength,
@@ -578,6 +578,8 @@ CxPlatCertSelect(
// anonymous(0), rsa(1), dsa(2), ecdsa(3)
//
+ PCCERT_CONTEXT CertCtx = (PCCERT_CONTEXT)Certificate;
+
if (CertCtx == NULL) {
*SelectedSignature = SignatureAlgorithms[0];
return TRUE;
