Why not curl on ios?

Hi!

I’m currently writing a https based communication with self-signed CA certificate and Peer Verification.

On Android and PC this thing is easy, because of awesomeness of curl and openssl. But I’ve noticed that on iOS the native NSMutableURLRequest is used. Using self-signed certificates is really painfull with native iOS, mostly because of how easy is to perform Man in The Middle attack. LibCurl is doing everything fine.

The question is: Was there any important reason, that curl wasn’t used on iOS? Or maybe there was just no need for it and that’s all?

Okey… So I compiled curl+openssl on ios, put it into engine and it works like a charm. For now.

It can be compiled and added just like the Android version.

It works and it’s awesome for self signed certification!

Could you share tutorial how to do this?