Azure / azure-c-shared-utility

Azure C SDKs common code
Other
111 stars 203 forks source link

OpenSSL Interface Default #470

Closed williamsryan closed 3 years ago

williamsryan commented 4 years ago

In adapters/platform_linux.c, it looks like there is a default to openssl in platform_get_default_tlsio. I know this assumes that some tlsio is defined, but in the chance that someone disabled all available SSL implementations, this will fail compilation because the import for "azure_c_shared_utility/tlsio_openssl.h" is in a #ifdef up top.

Perhaps force this import at line 58 so there at least isn't an import/compile-time error?

danewalton commented 4 years ago

Hey @khotitekofe are you able to elaborate on the functionality you are looking for? So if someone has all tls options turned off, this should compile? Are you looking for some non-tls scenario?

danewalton commented 3 years ago

Going to close this for now but let me know if you would like it reopened.