RT3776: Wrong size for malloc
authorRich Salz <rsalz@akamai.com>
Sat, 2 May 2015 02:06:07 +0000 (22:06 -0400)
committerRich Salz <rsalz@openssl.org>
Sat, 2 May 2015 11:54:03 +0000 (07:54 -0400)
commit53ba0a9e91ad203de2943edaf1090ab17ec435fa
treeb9946c983ddaee7555baf5c42372a52f7d012428
parent539ed89f686866b82a9ec9a4c3b112878d29cd73
RT3776: Wrong size for malloc

Use sizeof *foo parameter, to avoid these errors.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
crypto/x509/x509_vpm.c