To clarify - I am not arguing against config_ncp_ciphers in struct tls_options.

The only use of ncp_ciphers in context_1 is this:

   to.config_ncp_ciphers = c->c1.ncp_ciphers;

which can be changed to

  to.config_ncp_ciphers = options->ncp_ciphers;

which allows us to get rid of added "ncp_ciphers" in struct context_1.

-Lev


_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to