#15 add nss ssl support, improve gnutls ssl support


This fixes two issues:

If curl is using a recent version of gnutls we do not need to initialize libgcrypt threading: gnutls does that for us. And because recent versions of gnutls may be using nettle instead of gcrypt it is important that we don't: those functions are not necessarily defined (and linking to libgcrypt explicitly to get them is stupid, as they're not used). The modification is based on instructions from the gnutls NEWS file.

If curl is using nss we do not seem to need to initialize threading explicitly: the only threading-related bit I see in the nss headers/documentation has to do with simultaneous non-nss use of pkcs11 modules, nss itself seems to be thread-safe by default. So silence the build warning.


  • Nobody/Anonymous

    Hi there! This is my first visit to your blog! We are a team of volunteers and starting a new initiative in a community in the same niche. Your blog provided us valuable information to work on. You have done a outstanding job!
    cheap north face http://ugfmcgiiiz.webmium.com/

  • Oleg Pudeyev

    Oleg Pudeyev - 2013-06-06
    • status: open --> closed-accepted
    • Group: --> Unstable_(example)