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:55:17 +0000 (07:55 -0400)
commit5b38d54753acdabbf6b1d5e15d38ee81fb0612a2
tree0fe45982be2fa4e35d29beb5f88ade135d85d01d
parent6b3a315003f362150fddf8db072d4309f3f0d962
RT3776: Wrong size for malloc

Use sizeof *foo parameter, to avoid these errors.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(cherry picked from commit 53ba0a9e91ad203de2943edaf1090ab17ec435fa)
crypto/x509/x509_vpm.c