Fix: possible NULL dereference in polarssl

Fixes #85

Signed-off-by: David Goulet <dgoulet@ev0ke.net>