anchor.diff:              _ ->
                   Options
           end,
  -    add_options(NewOptions, CaChainFile, DhFile, ok, ok);
  -add_options(Options, CaChainFile, DhFile, Hostname, {ok, true}) ->
  +    add_options(NewOptions, CaChain, DhParam, ok, ok);
  +add_options(Options, CaChain, DhParam, Hostname, {ok, true}) ->
       NewOptions =  [ inet6 | Options],
  -    add_options(NewOptions, CaChainFile, DhFile, Hostname, ok);
  -add_options(Options, CaChainFile, DhFile, Hostname, {ok, false}) ->
  +    add_options(NewOptions, CaChain, DhParam, Hostname, ok);
  +add_options(Options, CaChain, DhParam, Hostname, {ok, false}) ->
       NewOptions =  [ inet | Options],
  -    add_options(NewOptions, CaChainFile, DhFile, Hostname, ok);
  +    add_options(NewOptions, CaChain, DhParam, Hostname, ok);
   add_options(Options, _, _, _, _) ->
       Options.
   
  
positive.code:     end,
  
      ok.
  
  create_dispatch_list() ->
      EpMain = ?CONFIG(ep_main),
  
negative.code: 
  
  
  add_options(Options, {ok, CaChain}, DhParam, Hostname, IPv6) ->
      NewOptions = [ {cacerts, CaChain} | Options ],
      add_options(NewOptions, ok, DhParam, Hostname, IPv6);
  add_options(Options, undefined, DhParam, Hostname, IPv6) ->
      add_options(Options, ok, DhParam, Hostname, IPv6);
  add_options(Options, CaChain,  undefined, Hostname, IPv6) ->
      add_options(Options, CaChain, ok, Hostname, IPv6);
  add_options(Options, CaChain, {ok, DhParam}, Hostname, IPv6) ->
      NewOptions = [ {dh, DhParam} | Options ],
      add_options(NewOptions, CaChain, ok, Hostname, IPv6);
  add_options(Options, CaChain, DhParam, {ok, Hostname}, IPv6) ->
      NewOptions =
          case {lists:suffix(".onion", Hostname), IPv6} of
              {true, true} ->
  