gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 30/282: schannel_verify: Fix alt names manual verify for UNICODE


From: gnunet
Subject: [gnurl] 30/282: schannel_verify: Fix alt names manual verify for UNICODE builds
Date: Wed, 01 Apr 2020 14:28:15 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 16da8bcd7141497b86b1098a9c874ac417ac6f82
Author: Jay Satiro <address@hidden>
AuthorDate: Mon Jan 13 18:25:12 2020 -0500

    schannel_verify: Fix alt names manual verify for UNICODE builds
    
    Follow-up to 29e40a6 from two days ago, which added that feature for
    Windows 7 and earlier. The bug only occurred in same.
    
    Ref: https://github.com/curl/curl/pull/4761
---
 lib/vtls/schannel_verify.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/vtls/schannel_verify.c b/lib/vtls/schannel_verify.c
index 791bc0bb0..e75132cad 100644
--- a/lib/vtls/schannel_verify.c
+++ b/lib/vtls/schannel_verify.c
@@ -313,7 +313,7 @@ static DWORD cert_get_name_string(struct Curl_easy *data,
   CERT_ALT_NAME_INFO *alt_name_info = NULL;
   DWORD alt_name_info_size = 0;
   BOOL ret_val = FALSE;
-  char *current_pos = NULL;
+  LPTSTR current_pos = NULL;
   DWORD i;
 
   /* CERT_NAME_SEARCH_ALL_NAMES_FLAG is available from Windows 8 onwards. */

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]