Now using errSecSuccess instead of noErr for Security frameworks OSStatus.
Now using NSParameterAssert instead of NSCParameterAssert.
Merge pull request #902 from OliverLetterer/master

Some minor stuff
Fixed if/else logic
Merge branch 'master' into invalid-ssl