Nettle has hard dependency on openssl, and --disable-openssl is only disabling optional feature of it.