diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-08-09 20:53:37 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-13 14:11:04 +0100 |
commit | a4cb54d2576995f6eed25d11ae421d915f60f3a5 (patch) | |
tree | 5a8a4ffa15c4bf527169dce479afe70e83db7240 /crypto/include/internal/evp_int.h | |
parent | 4950f8885c8384b945a7a801f47319b9e29344e6 (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.h | 2 |
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 |