Created attachment 639924 [details] A patch for ssluse.c to make use of OPENSSL_CONF environment variable OpenSSL documentation says that you can use OPENSSL_CONF environment variable to redefine openssl configuration file. CURL by default ignores this variable. This patch fixes this problem:
Thank you for contributing the patch, however we do not build libcurl against OpenSSL in Fedora packages, so your patch is not applicable. Please have a look at NSS environment variables: https://developer.mozilla.org/en-US/docs/NSS_reference/NSS_environment_variables
NSS doesn't support GOST encryption standards and other openssl features but, I guess, fedora and redhat people know what's better for me. In the meanwhile I will compile curl with openssl on my system.
You can consider submitting your patch upstream. It will not affect libcurl packages on Fedora, but you can get some feedback from users of OpenSSL-powered libcurl: http://curl.haxx.se/docs/faq.html#How_do_I_submit_my_patch ... and chances are the patch will be accepted there.
You're quite right, this patch should be merged upstream.