From a4cb54d2576995f6eed25d11ae421d915f60f3a5 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 9 Aug 2016 20:53:37 +0100 Subject: [PATCH] Fix type of ptr field. Since "ptr" is used to handle arbitrary other types it should be void *. Reviewed-by: Rich Salz --- crypto/include/internal/evp_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/include/internal/evp_int.h b/crypto/include/internal/evp_int.h index 2e4ca02eab..d7346f5b52 100644 --- a/crypto/include/internal/evp_int.h +++ b/crypto/include/internal/evp_int.h @@ -356,7 +356,7 @@ struct evp_pkey_st { const EVP_PKEY_ASN1_METHOD *ameth; ENGINE *engine; union { - char *ptr; + void *ptr; # ifndef OPENSSL_NO_RSA struct rsa_st *rsa; /* RSA */ # endif -- GitLab