gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 170/205: sspi: print out InitializeSecurityContext(


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 170/205: sspi: print out InitializeSecurityContext() error message
Date: Thu, 20 Apr 2017 16:21:50 +0200

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

ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.

commit 1f152a42ae9c2985b8a0cedf90d3b63b2e64a898
Author: Isaac Boukris <address@hidden>
AuthorDate: Thu Apr 6 22:31:45 2017 +0300

    sspi: print out InitializeSecurityContext() error message
    
    Reported-by: Carsten (talksinmath)
    
    Fixes #1384
    Closes #1395
---
 lib/vauth/spnego_sspi.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/vauth/spnego_sspi.c b/lib/vauth/spnego_sspi.c
index 5fa95e2eb..a6797cdaf 100644
--- a/lib/vauth/spnego_sspi.c
+++ b/lib/vauth/spnego_sspi.c
@@ -34,6 +34,7 @@
 #include "warnless.h"
 #include "curl_multibyte.h"
 #include "sendf.h"
+#include "strerror.h"
 
 /* The last #include files should be: */
 #include "curl_memory.h"
@@ -224,6 +225,8 @@ CURLcode Curl_auth_decode_spnego_message(struct Curl_easy 
*data,
   free(chlg);
 
   if(GSS_ERROR(nego->status)) {
+    failf(data, "InitializeSecurityContext failed: %s",
+          Curl_sspi_strerror(data->easy_conn, nego->status));
     return CURLE_OUT_OF_MEMORY;
   }
 

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



reply via email to

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