nativeformat / NFHTTP

A cross platform C++ HTTP library that interfaces natively to other platforms.
Apache License 2.0
588 stars 37 forks source link

Make the lib work on Android #26

Closed kebbbnnn closed 4 years ago

kebbbnnn commented 5 years ago

The lib doesn't work on android unless I disable the ssl cert verification. I'm not really good at this, but if this solution looks stupid, can you suggest any workaround to make this work on android without disabling security features?

chippmann commented 5 years ago

How did you get it to work with this change? If i do that the openssl lib throws an divided by zero error in the bn_asm.c file at line 287. Which seems odd to me.

kebbbnnn commented 5 years ago

Hi, can you check the version of openssl in the submodule, it works perfectly fine for me with OpenSSL 1.0.2k

chippmann commented 5 years ago

@kebbbnnn strange i have the same version

cpsauer commented 2 years ago

Hey @kebbbnnn, @drubinstein, isn't it a fairly serious security risk to disable SSL verification? Doesn't that kinda defeat the purpose of SSL--or is there something I'm missing here?