summaryrefslogtreecommitdiff
path: root/lib/curl_hmac.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/curl_hmac.h')
-rw-r--r--lib/curl_hmac.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl_hmac.h b/lib/curl_hmac.h
index 84c73121b..5755655d0 100644
--- a/lib/curl_hmac.h
+++ b/lib/curl_hmac.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -26,7 +26,7 @@
#define HMAC_MD5_LENGTH 16
-typedef void (* HMAC_hinit_func)(void *context);
+typedef CURLcode (* HMAC_hinit_func)(void *context);
typedef void (* HMAC_hupdate_func)(void *context,
const unsigned char *data,
unsigned int len);