Replace memset with OPENSSL_clear_free()