curl-library
Re: pinnedpubkey unsupported behavior
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 22 Apr 2016 10:04:14 +0200 (CEST)
Date: Fri, 22 Apr 2016 10:04:14 +0200 (CEST)
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.htmlReceived on 2016-04-22