Mercurial > masqmail-0.2
annotate src/md5/hmac_md5.h @ 171:349518b940db
added support for STARTTLS wrappers
added the route config option `instant_helo' which
causes masqmail, as SMTP client, not to wait for the
server's 220 greeting. Instead if says EHLO right at
once. You'll need this for STARTTLS wrappers that
usually eat the greeting line.
author | meillo@marmaro.de |
---|---|
date | Thu, 22 Jul 2010 23:30:05 +0200 |
parents | b8c358b2e242 |
children |
rev | line source |
---|---|
164
b8c358b2e242
replaced hmac_md5.c with an own implementation of RFC 2104
meillo@marmaro.de
parents:
10
diff
changeset
|
1 void hmac_md5( |
b8c358b2e242
replaced hmac_md5.c with an own implementation of RFC 2104
meillo@marmaro.de
parents:
10
diff
changeset
|
2 unsigned char* text, /* pointer to the message */ |
b8c358b2e242
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 */ |
b8c358b2e242
replaced hmac_md5.c with an own implementation of RFC 2104
meillo@marmaro.de
parents:
10
diff
changeset
|
4 unsigned char* key, /* pointer to the authentication key */ |
b8c358b2e242
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 */ |
b8c358b2e242
replaced hmac_md5.c with an own implementation of RFC 2104
meillo@marmaro.de
parents:
10
diff
changeset
|
6 unsigned char* digest /* pointer to allocated memory to store the computed HMAC */ |
b8c358b2e242
replaced hmac_md5.c with an own implementation of RFC 2104
meillo@marmaro.de
parents:
10
diff
changeset
|
7 ); |