I think the idea here is that if sslerror is nil then there is no error. So this should be:
```
if (sslerror != nil)
```