In svn-bench, deprecate the --trust-server-cert option and add the following
new options exposing all SSL failure modes the underlying API can handle:

  --trust-unknown-ca       : with --non-interactive, accept SSL server
                             certificates from unknown certificate authorities
  --trust-cn-mismatch      : with --non-interactive, accept SSL server
                             certificates even if the server hostname does not
                             match the certificate's common name attribute
  --trust-expired          : with --non-interactive, accept expired SSL server
                             certificates
  --trust-not-yet-valid    : with --non-interactive, accept SSL server
                             certificates from the future
  --trust-other-failure    : with --non-interactive, accept SSL server
                             certificates with failures other than the above

* subversion/svn-bench/cl.h
  (svn_cl__opt_state_t): Add new options trust_server_cert_unknown_ca,
   trust_server_cert_cn_mismatch, trust_server_cert_expired,
   trust_server_cert_not_yet_valid, and trust_server_cert_other_failure.
  .
* subversion/svn-bench/svn-bench.c
   (svn_cl__longopt_t): Add new options opt_trust_server_cert_unknown_ca,
    opt_trust_server_cert_cn_mismatch, opt_trust_server_cert_expired,
    opt_trust_server_cert_not_yet_valid, opt_trust_server_cert_other_failure.
   (svn_cl__options): Add options and help text for --trust-unknown-ca,
    --trust-cn-mismatch, --trust-expired, --trust-not-yet-valid, and
    --trust-other-failure.
   (svn_cl__global_options): Add the new options here.
   (sub_main): Process new options and use svn_cmdline_create_auth_baton2().


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1630129 13f79535-47bb-0310-9956-ffa450edef68