projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4950f88
)
Fix type of ptr field.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 9 Aug 2016 19:53:37 +0000
(20:53 +0100)
committer
Dr. 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
patch
|
blob
|
history
diff --git
a/crypto/include/internal/evp_int.h
b/crypto/include/internal/evp_int.h
index 2e4ca02eab922408aae1f790c6f6e5aa50f5eba0..d7346f5b526a8c5a7d0cb80f691c7d0cd684b028 100644
(file)
--- 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