You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Added patch to fix compatibility of Uplay with gnutls28.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
From c8d49d6ffce2dcc3797e20bbf7649aadafea21cf Mon Sep 17 00:00:00 2001
|
||||
From: Nikos Mavrogiannopoulos <nmav@redhat.com>
|
||||
Date: Thu, 26 Mar 2015 11:14:17 +0100
|
||||
Subject: schannel_gnutls: when calling pgnutls_server_name_set ensure that the
|
||||
values are sane
|
||||
|
||||
---
|
||||
dlls/secur32/schannel_gnutls.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/secur32/schannel_gnutls.c b/dlls/secur32/schannel_gnutls.c
|
||||
index 1173574..1ad0c76 100644
|
||||
--- a/dlls/secur32/schannel_gnutls.c
|
||||
+++ b/dlls/secur32/schannel_gnutls.c
|
||||
@@ -188,7 +188,8 @@ void schan_imp_set_session_target(schan_imp_session session, const char *target)
|
||||
{
|
||||
gnutls_session_t s = (gnutls_session_t)session;
|
||||
|
||||
- pgnutls_server_name_set( s, GNUTLS_NAME_DNS, target, strlen(target) );
|
||||
+ if (target != NULL && strlen(target) != 0)
|
||||
+ pgnutls_server_name_set( s, GNUTLS_NAME_DNS, target, strlen(target) );
|
||||
}
|
||||
|
||||
SECURITY_STATUS schan_imp_handshake(schan_imp_session session)
|
||||
--
|
||||
2.3.3
|
||||
|
||||
1
patches/secur32-Gnutls28_Compat/definition
Normal file
1
patches/secur32-Gnutls28_Compat/definition
Normal file
@@ -0,0 +1 @@
|
||||
Fixes: [38134] Fix compatibility of Uplay with gnutls28
|
||||
Reference in New Issue
Block a user