summaryrefslogtreecommitdiff
path: root/src/hmac_md5.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
commit973ae30e7c4f7a1afb385dd3d8eeea178f981445 (patch)
tree1a5d8be5b3ff273a141b6144bf3031b1bc3deb2d /src/hmac_md5.c
parent66404f0bfbd78e635ff6381ca30b25157e0e1a09 (diff)
fix deprecated prototypes
Diffstat (limited to 'src/hmac_md5.c')
-rw-r--r--src/hmac_md5.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hmac_md5.c b/src/hmac_md5.c
index 5c46653..6b0fd0d 100644
--- a/src/hmac_md5.c
+++ b/src/hmac_md5.c
@@ -1,5 +1,6 @@
+#include "hmac_md5.h"
+
#include "byte.h"
-#include "str.h"
#include "global.h"
#include "md5.h"
@@ -11,7 +12,7 @@
int text_len : length of challenge
unsigned char *key : pointer to password
int key_len : length of password
- output: unsigned char *digest: pointer to calculated digest
+ output: unsigned char *digest: pointer to calculated digest
*/
void hmac_md5(unsigned char *text, int text_len, unsigned char *key, int key_len, unsigned char *digest)