secur32: Use %LATEST_RECORD_VERSION gnutls priority.
commitf198b5a45a52aa0bcf79f1909c8f6dc4e56c4143
authorJacek Caban <jacek@codeweavers.com>
Mon, 28 Mar 2016 10:42:05 +0000 (28 12:42 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 29 Mar 2016 01:39:41 +0000 (29 10:39 +0900)
tree419549a19c1df03d6220837cd7f8d04f6f5b9b0f
parent5e27e6b5d8584431bd96702220f83607dca23d92
secur32: Use %LATEST_RECORD_VERSION gnutls priority.

It's based on [1], where it's reported to fix issues with older gnutls.
I tested what client hello packages Windows reports for different sets
of used protocol versions, and it always uses newest possible version.
There may be a concern about not using SSL3 client hello, which still
may negotiate newer protocol and was recommended for compatibility
reasons, but it's known to be problematic the other way those days and
recent gnutls won't use it by default anyway [2].

[1] http://us.battle.net/wow/en/forum/topic/20742995286?page=11
[2] https://gitlab.com/gnutls/gnutls/commit/25ed2750438178ff65d555a49212dc7b5a37c644

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/secur32/schannel_gnutls.c