ntlm.c: Get rid of 'warning: old-style function definition'.

This commit is contained in:
Sven Geuer 2026-05-06 21:41:20 +02:00
parent eb92cf8f11
commit ea6e8c70ed
No known key found for this signature in database
GPG key ID: ADF50EDAF8ADD585

18
ntlm.c
View file

@ -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