diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-03-16 20:59:10 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-03-16 20:59:10 +0000 |
commit | 7c337e00d23ac421ff1949ac1bbce2e8b718299e (patch) | |
tree | 3a7976f3d6a98d1273170ec17feda7db109a40a6 /crypto/hmac | |
parent | 7e8481afd12c596b5c905596d6facae60834854a (diff) |
Fix some warnings.
Diffstat (limited to 'crypto/hmac')
-rw-r--r-- | crypto/hmac/hm_pmeth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/hmac/hm_pmeth.c b/crypto/hmac/hm_pmeth.c index 6355a44413..b5e455733b 100644 --- a/crypto/hmac/hm_pmeth.c +++ b/crypto/hmac/hm_pmeth.c @@ -206,8 +206,9 @@ static int pkey_hmac_ctrl_str(EVP_PKEY_CTX *ctx, } if (!strcmp(type, "key")) { + void *p = (void *)value; return pkey_hmac_ctrl(ctx, EVP_PKEY_CTRL_SET_MAC_KEY, - -1, (void *)value); + -1, p); } if (!strcmp(type, "hexkey")) { |