In svnsync, 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/svnsync/svnsync.c
   (svnsync__opt, SVNSYNC_OPTS_DEFAULT): Add
    opt_trust_server_cert_unknown_ca, opt_trust_server_cert_cn_mismatch,
    opt_trust_server_cert_expired, opt_trust_server_cert_not_yet_valid,
    and opt_trust_server_cert_other_failure.
   (svnsync_options): Add and document the new options.
   (opt_baton_t): Add the new options.
   (sub_main): Handle new options and use svn_cmdline_create_auth_baton2().


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