annotate src/md5/hmac_md5.h @ 246:4cff8638dd9b

SMTP client: tries EHLO now always first Changed the behavior of the SMTP client. Now always an EHLO greeting is sent, no matter what kind of greeting text the server had sent. If the EHLO failed, an HELO greeting is tried as fall back. This is the behavior RFC 2821 requires (section 3.2). This change will fix setups that were not possible to sent to a server because that requires AUTH but hadn't said ``ESMTP'' in its greeting message. See also: Debian bug #349211 Thanks to Steffen (inne)
author markus schnalke <meillo@marmaro.de>
date Thu, 28 Oct 2010 16:40:02 -0300
parents 0f36c0a46f82
children 41958685480d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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(
0f36c0a46f82 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 */
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 */
0f36c0a46f82 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 */
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 */
0f36c0a46f82 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 */
0f36c0a46f82 replaced hmac_md5.c with an own implementation of RFC 2104
meillo@marmaro.de
parents: 10
diff changeset
7 );