Mercurial > masqmail
annotate src/md5/hmac_md5.h @ 400:6500db550a03
resolve_ip() appeared to be broken, in connect.c. I fixed it.
In any case, NULL was returned, but if it is a valid IP address,
a list should have been returned. This is fixed now.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Tue, 21 Feb 2012 15:44:55 +0100 |
parents | 41958685480d |
children |
rev | line source |
---|---|
211
0f36c0a46f82
replaced hmac_md5.c with an own implementation of RFC 2104
meillo@marmaro.de
parents:
10
diff
changeset
|
1 void hmac_md5( |
366
41958685480d
Switched to `type *name' style
markus schnalke <meillo@marmaro.de>
parents:
211
diff
changeset
|
2 unsigned char *text, /* pointer to the message */ |
211
0f36c0a46f82
replaced hmac_md5.c with an own implementation of RFC 2104
meillo@marmaro.de
parents:
10
diff
changeset
|
3 int textlen, /* length of the message */ |
366
41958685480d
Switched to `type *name' style
markus schnalke <meillo@marmaro.de>
parents:
211
diff
changeset
|
4 unsigned char *key, /* pointer to the authentication key */ |
211
0f36c0a46f82
replaced hmac_md5.c with an own implementation of RFC 2104
meillo@marmaro.de
parents:
10
diff
changeset
|
5 int keylen, /* length of the key */ |
366
41958685480d
Switched to `type *name' style
markus schnalke <meillo@marmaro.de>
parents:
211
diff
changeset
|
6 unsigned char *digest /* pointer to allocated memory to store the computed HMAC */ |
211
0f36c0a46f82
replaced hmac_md5.c with an own implementation of RFC 2104
meillo@marmaro.de
parents:
10
diff
changeset
|
7 ); |