Skip to content

Conversation

bmparson
Copy link

@bmparson bmparson commented Dec 7, 2021

WINHTTP_OPTION_CLIENT_CERT_CONTEXT fails when set to Null pointer which is what the WINHTTP_NO_CLIENT_CERT_CONTEXT macro does.

Copy link

@mlipok mlipok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for beter code reading please add spaces:
_WinHttpSetOption($hrequest, $WINHTTP_OPTION_CLIENT_CERT_CONTEXT, $WINHTTP_NO_CLIENT_CERT_CONTEXT, 0)

Copy link

@mlipok mlipok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for better cod reading please add spaces
If $iSize < 1 And Not ($iOption = $WINHTTP_OPTION_CLIENT_CERT_CONTEXT And $vSetting = Null) Then

@bmparson
Copy link
Author

bmparson commented Dec 8, 2021

made the requested changes

rcmaehl added a commit to rcmaehl/autoit-winhttp that referenced this pull request Oct 27, 2022
rcmaehl added a commit to rcmaehl/autoit-winhttp that referenced this pull request Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants