Mercurial > masqmail
comparison src/md5/hmac_md5.h @ 366:41958685480d
Switched to `type *name' style
Andrew Koenig's ``C Traps and Pitfalls'' (Ch.2.1) convinced
me that it is best to go with the way C had been designed.
The ``declaration reflects use'' concept conflicts with a
``type* name'' notation. Hence I switched.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Thu, 22 Sep 2011 15:07:40 +0200 |
parents | 0f36c0a46f82 |
children |
comparison
equal
deleted
inserted
replaced
365:934a223e4ee8 | 366:41958685480d |
---|---|
1 void hmac_md5( | 1 void hmac_md5( |
2 unsigned char* text, /* pointer to the message */ | 2 unsigned char *text, /* pointer to the message */ |
3 int textlen, /* length of the message */ | 3 int textlen, /* length of the message */ |
4 unsigned char* key, /* pointer to the authentication key */ | 4 unsigned char *key, /* pointer to the authentication key */ |
5 int keylen, /* length of the key */ | 5 int keylen, /* length of the key */ |
6 unsigned char* digest /* pointer to allocated memory to store the computed HMAC */ | 6 unsigned char *digest /* pointer to allocated memory to store the computed HMAC */ |
7 ); | 7 ); |