summaryrefslogtreecommitdiffstats
path: root/crypto/include/internal/evp_int.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-08-09 20:53:37 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-08-13 14:11:04 +0100
commita4cb54d2576995f6eed25d11ae421d915f60f3a5 (patch)
tree5a8a4ffa15c4bf527169dce479afe70e83db7240 /crypto/include/internal/evp_int.h
parent4950f8885c8384b945a7a801f47319b9e29344e6 (diff)
Fix type of ptr field.
Since "ptr" is used to handle arbitrary other types it should be void *. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/include/internal/evp_int.h')
-rw-r--r--crypto/include/internal/evp_int.h2
1 files changed, 1 insertions, 1 deletions
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