BUG/MINOR: ssl: Check malloc return code

If malloc() can't allocate memory and return NULL, a segfaut will raises.

This patch should be backported in the 1.6 and 1.5 version.
1 file changed