On Thu, 21 Apr 2016, Ray Satiro via curl-library wrote:

I see what you're saying. The easiest way to fix it would be require a symbol that is defined only when the feature is available and put that in the header of each vtls that is supported, and wrap all the pubkey code.

...

#define have_curlssl_pinnedpubkey

I think that is not only the easiest way but also the nicest and follows the style we've used for a few other things already that depend on TLS backend support.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

Reply via email to