Skip to content

CheckServerCert call when sfNoServerVerify is set #3

Open
@EricGrange

Description

@EricGrange

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions