mirror of
https://github.com/curl/curl.git
synced 2026-08-25 17:53:43 +03:00
checksrc: code style: use 'char *name' style
This commit is contained in:
parent
bc7e08471c
commit
dbadaebfc4
68 changed files with 330 additions and 329 deletions
10
lib/hmac.c
10
lib/hmac.c
|
|
@ -49,12 +49,12 @@ static const unsigned char hmac_opad = 0x5C;
|
|||
|
||||
HMAC_context *
|
||||
Curl_HMAC_init(const HMAC_params * hashparams,
|
||||
const unsigned char * key,
|
||||
const unsigned char *key,
|
||||
unsigned int keylen)
|
||||
{
|
||||
size_t i;
|
||||
HMAC_context * ctxt;
|
||||
unsigned char * hkey;
|
||||
HMAC_context *ctxt;
|
||||
unsigned char *hkey;
|
||||
unsigned char b;
|
||||
|
||||
/* Create HMAC context. */
|
||||
|
|
@ -101,7 +101,7 @@ Curl_HMAC_init(const HMAC_params * hashparams,
|
|||
}
|
||||
|
||||
int Curl_HMAC_update(HMAC_context * ctxt,
|
||||
const unsigned char * data,
|
||||
const unsigned char *data,
|
||||
unsigned int len)
|
||||
{
|
||||
/* Update first hash calculation. */
|
||||
|
|
@ -110,7 +110,7 @@ int Curl_HMAC_update(HMAC_context * ctxt,
|
|||
}
|
||||
|
||||
|
||||
int Curl_HMAC_final(HMAC_context * ctxt, unsigned char * result)
|
||||
int Curl_HMAC_final(HMAC_context *ctxt, unsigned char *result)
|
||||
{
|
||||
const HMAC_params * hashparams = ctxt->hmac_hash;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue