size_t-fication of message digest APIs. We should size_t-fy more APIs...

This commit is contained in:
Andy Polyakov
2004-05-15 11:29:55 +00:00
parent 1c7a0e2856
commit 9e0aad9fd6
39 changed files with 82 additions and 82 deletions

View File

@@ -94,10 +94,10 @@ void HMAC_Init(HMAC_CTX *ctx, const void *key, int len,
const EVP_MD *md); /* deprecated */
void HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
const EVP_MD *md, ENGINE *impl);
void HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, int len);
void HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len);
void HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len);
unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
const unsigned char *d, int n, unsigned char *md,
const unsigned char *d, size_t n, unsigned char *md,
unsigned int *md_len);