From: Dr. Stephen Henson Date: Tue, 9 Aug 2016 19:53:37 +0000 (+0100) Subject: Fix type of ptr field. X-Git-Tag: OpenSSL_1_1_0~216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4cb54d2576995f6eed25d11ae421d915f60f3a5;p=openssl Fix type of ptr field. Since "ptr" is used to handle arbitrary other types it should be void *. Reviewed-by: Rich Salz --- 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