Mercurial > masqmail
diff 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 |
line wrap: on
line diff
--- a/src/md5/hmac_md5.h Wed Sep 14 12:20:40 2011 +0200 +++ b/src/md5/hmac_md5.h Thu Sep 22 15:07:40 2011 +0200 @@ -1,7 +1,7 @@ void hmac_md5( - unsigned char* text, /* pointer to the message */ + unsigned char *text, /* pointer to the message */ int textlen, /* length of the message */ - unsigned char* key, /* pointer to the authentication key */ + unsigned char *key, /* pointer to the authentication key */ int keylen, /* length of the key */ - unsigned char* digest /* pointer to allocated memory to store the computed HMAC */ + unsigned char *digest /* pointer to allocated memory to store the computed HMAC */ );