Fix type of ptr field.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 9 Aug 2016 19:53:37 +0000 (20:53 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 13 Aug 2016 13:11:04 +0000 (14:11 +0100)
Since "ptr" is used to handle arbitrary other types it should be
void *.

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/include/internal/evp_int.h

index 2e4ca02..d7346f5 100644 (file)
@@ -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