On Fri, 19 Nov 2021, Will Cosgrove via libssh2-devel wrote:

You can test if backend defines are set, like so:

#ifdef LIBSSH2_OPENSSL
        //enabled
#endif

#ifdef LIBSSH2_LIBGCRYPT
        //enabled
#endif

I wouldn't mind being able to extract that info at run-time rather than build-time. But we don't seem to have any API for that today...

--

 / daniel.haxx.se
--
libssh2-devel mailing list
libssh2-devel@lists.haxx.se
https://lists.haxx.se/listinfo/libssh2-devel

Reply via email to