diff options
author | Ben Laurie <ben@openssl.org> | 1999-06-08 18:37:43 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-06-08 18:37:43 +0000 |
commit | 72fbe87dc6259d486d361f4f81af0e75116f4679 (patch) | |
tree | c13a1f3701330b8213d67f0ecba0c8625688ac1a /crypto/hmac/hmac.c | |
parent | cfce2335e942c35bc278b4f0ffcae7455d537b8b (diff) |
Survive pedanticism.
Diffstat (limited to 'crypto/hmac/hmac.c')
-rw-r--r-- | crypto/hmac/hmac.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/hmac/hmac.c b/crypto/hmac/hmac.c index 0825536393..5c349bbb56 100644 --- a/crypto/hmac/hmac.c +++ b/crypto/hmac/hmac.c @@ -60,7 +60,7 @@ #include <string.h> #include <openssl/hmac.h> -void HMAC_Init(HMAC_CTX *ctx, const unsigned char *key, int len, +void HMAC_Init(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md) { int i,j,reset=0; @@ -133,8 +133,9 @@ void HMAC_cleanup(HMAC_CTX *ctx) memset(ctx,0,sizeof(HMAC_CTX)); } -unsigned char *HMAC(const EVP_MD *evp_md, const unsigned char *key, int key_len, - unsigned char *d, int n, unsigned char *md, unsigned int *md_len) +unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, + unsigned char *d, int n, unsigned char *md, + unsigned int *md_len) { HMAC_CTX c; static unsigned char m[EVP_MAX_MD_SIZE]; |