ssl: style.
Replace malloc + memset with calloc
Remove unneccesary variables