diff options
author | Steffan Karger <steffan@karger.me> | 2016-05-14 11:02:46 +0200 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2016-05-16 20:56:56 +0200 |
commit | 2194351fdaab91cff94f921e633d46c9589b0d2c (patch) | |
tree | 5635995fc02246da5e1d8cdae9d6a3922ab32baf /crypto/hmac/hmac.c | |
parent | session tickets: use more sizeof (diff) | |
download | openssl-2194351fdaab91cff94f921e633d46c9589b0d2c.tar.xz openssl-2194351fdaab91cff94f921e633d46c9589b0d2c.zip |
const correctness: make HMAC_size() take a const *
CLA: none; trivial
Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Rich Salz <rsalz@openssl.org>
GH: #1070
Diffstat (limited to 'crypto/hmac/hmac.c')
-rw-r--r-- | crypto/hmac/hmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/hmac/hmac.c b/crypto/hmac/hmac.c index 9504aada94..4e09e56f15 100644 --- a/crypto/hmac/hmac.c +++ b/crypto/hmac/hmac.c @@ -164,7 +164,7 @@ int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len) return 0; } -size_t HMAC_size(HMAC_CTX *ctx) +size_t HMAC_size(const HMAC_CTX *ctx) { return EVP_MD_size((ctx)->md); } |