summaryrefslogtreecommitdiff
path: root/lib/vauth/digest.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-05-14 00:05:04 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-05-14 08:20:48 +0200
commit402b19dbfca724a20488d1f15964f10b8459b597 (patch)
treee2e69f51821f4ed5f176e5bfbda2fc754a9708a8 /lib/vauth/digest.c
parente0d04e0c5fb970f4b7a117dcb8b481e077014ac3 (diff)
downloadcurl-bagder/remove-typedef-structs.tar.gz
source cleanup: remove all custom typedef structsbagder/remove-typedef-structs
- Stick to a single unified way to use structs - Make checksrc complain on 'typedef struct {' - Allow them in tests, public headers and examples - Let MD4_CTX, MD5_CTX, and SHA256_CTX typedefs remain as they actually typedef different types/structs depending on build conditions.
Diffstat (limited to 'lib/vauth/digest.c')
-rw-r--r--lib/vauth/digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vauth/digest.c b/lib/vauth/digest.c
index a8835705f..b9210a8fe 100644
--- a/lib/vauth/digest.c
+++ b/lib/vauth/digest.c
@@ -358,7 +358,7 @@ CURLcode Curl_auth_create_digest_md5_message(struct Curl_easy *data,
char **outptr, size_t *outlen)
{
size_t i;
- MD5_context *ctxt;
+ struct MD5_context *ctxt;
char *response = NULL;
unsigned char digest[MD5_DIGEST_LEN];
char HA1_hex[2 * MD5_DIGEST_LEN + 1];