diff options
author | Patrick Monnerat <patrick@monnerat.net> | 2017-09-02 12:49:59 +0100 |
---|---|---|
committer | Patrick Monnerat <patrick@monnerat.net> | 2017-09-02 12:49:59 +0100 |
commit | 6869d65f548b264725218f21cdf6443d26938e6f (patch) | |
tree | a588e621ab086d5290a66510f012622bd0202ac3 /lib/vauth/vauth.h | |
parent | 70231d6a6551ab89ea2801df661fc1cd17967ba7 (diff) | |
download | curl-6869d65f548b264725218f21cdf6443d26938e6f.tar.gz |
Curl_base64_encode: always call with a real data handle.
Some calls in different modules were setting the data handle to NULL, causing
segmentation faults when using builds that enable character code conversions.
Diffstat (limited to 'lib/vauth/vauth.h')
-rw-r--r-- | lib/vauth/vauth.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/vauth/vauth.h b/lib/vauth/vauth.h index 9d61228c3..dfaf985c6 100644 --- a/lib/vauth/vauth.h +++ b/lib/vauth/vauth.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 2014 - 2016, Steve Holme, <steve_holme@hotmail.com>. + * Copyright (C) 2014 - 2017, Steve Holme, <steve_holme@hotmail.com>. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -119,7 +119,8 @@ void Curl_auth_digest_cleanup(struct digestdata *digest); bool Curl_auth_is_ntlm_supported(void); /* This is used to generate a base64 encoded NTLM type-1 message */ -CURLcode Curl_auth_create_ntlm_type1_message(const char *userp, +CURLcode Curl_auth_create_ntlm_type1_message(struct Curl_easy *data, + const char *userp, const char *passwdp, struct ntlmdata *ntlm, char **outptr, |