]> granicus.if.org Git - curl/commit
schannel: fix MinGW compile break
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Tue, 10 Jul 2018 19:02:17 +0000 (21:02 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Wed, 11 Jul 2018 11:04:15 +0000 (13:04 +0200)
commit48cf45c5aa541d1a13d1d82d6a28e7233895c6e9
tree2964875c95a5151b45fd1d418bfcf7444ccd1334
parent1f6e38e6af73b6b11e1a7e4032cfd056d1000e70
schannel: fix MinGW compile break

Original MinGW's w32api has a sytax error in its definition of
CALG_TLS1PRF [0]. Don't use original MinGW w32api's CALG_TLS1PRF
until this bug [1] is fixed.

[0] https://osdn.net/projects/mingw/scm/git/mingw-org-wsl/blobs/d1d4a17e51a2b78e252ef0147d483267d56c90cc/w32api/include/wincrypt.h
[1] https://osdn.net/projects/mingw/ticket/38391

Fixes https://github.com/curl/curl/pull/2721#issuecomment-403636043
Closes https://github.com/curl/curl/pull/2728
lib/vtls/schannel.c