mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-07-17 16:34:53 +00:00
ntlm.c: Get rid of 'warning: old-style function definition'.
This commit is contained in:
parent
eb92cf8f11
commit
ea6e8c70ed
1 changed files with 11 additions and 7 deletions
18
ntlm.c
18
ntlm.c
|
|
@ -298,15 +298,19 @@ void build_type3_response() {
|
|||
|
||||
/*
|
||||
** Function: hmac_md5
|
||||
**
|
||||
** Parameter:
|
||||
** unsigned char* text pointer to data stream
|
||||
** int text_len length of data stream
|
||||
** unsigned char* key pointer to authentication key
|
||||
** int key_len length of authentication key
|
||||
** unsigned char digest[16] caller digest to be filled in
|
||||
*/
|
||||
|
||||
void
|
||||
hmac_md5(text, text_len, key, key_len, digest)
|
||||
unsigned char* text; /* pointer to data stream */
|
||||
int text_len; /* length of data stream */
|
||||
unsigned char* key; /* pointer to authentication key */
|
||||
int key_len; /* length of authentication key */
|
||||
unsigned char digest[16]; /* caller digest to be filled in */
|
||||
void hmac_md5(
|
||||
unsigned char* text, int text_len,
|
||||
unsigned char* key, int key_len,
|
||||
unsigned char digest[16])
|
||||
{
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x30000000L
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue