SChannelSocket has the following code
if sfNoServerVerify in SessionData.Flags then
begin
CertCheckRes := CheckServerCert(hCtx, IfThen(sfNoServerVerify in SessionData.Flags, '', URL)); // don't check host name if sfNoServerVerify is set
it seems to me that the IfThen would always evaluate to an empty string ?
SChannelSocket has the following code
it seems to me that the IfThen would always evaluate to an empty string ?