gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 27/150: curl_easy_reset: clear digest auth state


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 27/150: curl_easy_reset: clear digest auth state
Date: Fri, 30 Mar 2018 16:48:01 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 9caa3e248da91dc8964328b5b50491ba05df7bd4
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Jan 25 17:51:26 2018 +0100

    curl_easy_reset: clear digest auth state
    
    Bug: https://curl.haxx.se/mail/lib-2018-01/0074.html
    Reported-by: Ruurd Beerstra
    Fixes #2255
    Closes #2272
---
 lib/easy.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/easy.c b/lib/easy.c
index edc716d0a..3389d4463 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -73,6 +73,7 @@
 #include "sigpipe.h"
 #include "ssh.h"
 #include "setopt.h"
+#include "http_digest.h"
 
 /* The last 3 #include files should be in this order */
 #include "curl_printf.h"
@@ -1017,6 +1018,7 @@ void curl_easy_reset(struct Curl_easy *data)
   /* zero out authentication data: */
   memset(&data->state.authhost, 0, sizeof(struct auth));
   memset(&data->state.authproxy, 0, sizeof(struct auth));
+  Curl_digest_cleanup(data);
 }
 
 /*

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



reply via email to

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