Just as with the OPENSSL_malloc calls, consistently use sizeof(*ptr) for memset and memcpy. Remove needless casts for those functions. For memset, replace alternative forms of zero with 0. Reviewed-by: Richard Levitte <levitte@openssl.org>
Free to OPENSSL_free in the SSL demos.
Submitted (a month ago) by: Wade Scholine
Reviewed by: PR: