]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/hmac/hm_pmeth.c
Fix some warnings.
[thirdparty/openssl.git] / crypto / hmac / hm_pmeth.c
index 6355a44413e6eaf9c23bc6777631e622f1de352c..b5e455733bf02b82dcc8413564ed5c5caaba8c46 100644 (file)
@@ -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"))
                {