masqmail
view src/md5/hmac_md5.h @ 156:ee2afbf92428
require host_name to be set in config file
exit otherwise
there is no portable way to determine the hostname
(actually the hostname that masqmail should use)
thus it must be set by the administrator
author | meillo@marmaro.de |
---|---|
date | Thu, 08 Jul 2010 09:49:05 +0200 |
parents | 08114f7dcc23 |
children | 0f36c0a46f82 |
line source
1 void
2 hmac_md5(unsigned char *text, int text_len, unsigned char *key, int key_len, unsigned char *digest);
3 /* text; pointer to data stream */
4 /* text_len; length of data stream */
5 /* key; pointer to authentication key */
6 /* key_len; length of authentication key */
7 /* digest; caller digest to be filled in */