aboutsummaryrefslogtreecommitdiff
path: root/crypto/hmac/hmac.h
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-06-08 18:37:43 +0000
committerBen Laurie <ben@openssl.org>1999-06-08 18:37:43 +0000
commit72fbe87dc6259d486d361f4f81af0e75116f4679 (patch)
treec13a1f3701330b8213d67f0ecba0c8625688ac1a /crypto/hmac/hmac.h
parentcfce2335e942c35bc278b4f0ffcae7455d537b8b (diff)
downloadopenssl-72fbe87dc6259d486d361f4f81af0e75116f4679.zip
openssl-72fbe87dc6259d486d361f4f81af0e75116f4679.tar.gz
openssl-72fbe87dc6259d486d361f4f81af0e75116f4679.tar.bz2
Survive pedanticism.
Diffstat (limited to 'crypto/hmac/hmac.h')
-rw-r--r--crypto/hmac/hmac.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/hmac/hmac.h b/crypto/hmac/hmac.h
index 5720498..f928975 100644
--- a/crypto/hmac/hmac.h
+++ b/crypto/hmac/hmac.h
@@ -83,13 +83,14 @@ typedef struct hmac_ctx_st
#define HMAC_size(e) (EVP_MD_size((e)->md))
-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);
void HMAC_Update(HMAC_CTX *ctx,unsigned char *key, int len);
void HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len);
void HMAC_cleanup(HMAC_CTX *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);
#ifdef __cplusplus