Fix: possible NULL dereference in polarssl

Fixes #85

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Merge pull request #86 from dgoulet/bug85

Fix: possible NULL dereference in polarssl