~ubuntu-branches/debian/sid/subversion/sid

« back to all changes in this revision

Viewing changes to subversion/include/svn_cmdline.h

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2015-08-07 21:32:47 UTC
  • mfrom: (0.2.15) (4.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20150807213247-ozyewtmgsr6tkewl
Tags: 1.9.0-1
* Upload to unstable
* New upstream release.
  + Security fixes
    - CVE-2015-3184: Mixed anonymous/authenticated path-based authz with
      httpd 2.4
    - CVE-2015-3187: svn_repos_trace_node_locations() reveals paths hidden
      by authz
* Add >= 2.7 requirement for python-all-dev Build-Depends, needed to run
  tests.
* Remove Build-Conflicts against ruby-test-unit.  (Closes: #791844)
* Remove patches/apache_module_dependency in favor of expressing the
  dependencies in authz_svn.load/dav_svn.load.
* Build-Depend on apache2-dev (>= 2.4.16) to ensure ap_some_authn_required()
  is available when building mod_authz_svn and Depend on apache2-bin (>=
  2.4.16) for runtime support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
320
320
 * by the command line client.
321
321
 *
322
322
 * @a non_interactive, @a username, @a password, @a config_dir,
323
 
 * @a no_auth_cache, and @a trust_server_cert are the values of the
324
 
 * command line options of the corresponding names.
 
323
 * and @a no_auth_cache are the values of the command line options
 
324
 * of the corresponding names.
 
325
 *
 
326
 * If @a non_interactive is @c TRUE, then the following parameters
 
327
 * control whether an invalid SSL certificate will be accepted
 
328
 * regardless of a specific verification failure:
 
329
 *
 
330
 * @a trust_server_cert_unknown_ca: If @c TRUE, accept certificates
 
331
 * from unknown certificate authorities.
 
332
 *
 
333
 * @a trust_server_cert_cn_mismatch: If @c TRUE, accept certificates
 
334
 * even if the Common Name attribute of the certificate differs from
 
335
 * the hostname of the server.
 
336
 *
 
337
 * @a trust_server_cert_expired: If @c TRUE, accept certificates even
 
338
 * if they are expired.
 
339
 *
 
340
 * @a trust_server_cert_not_yet_valid: If @c TRUE, accept certificates
 
341
 * from the future.
 
342
 *
 
343
 * @a trust_server_cert_other_failure: If @c TRUE, accept certificates
 
344
 * even if any other verification failure than the above occured.
325
345
 *
326
346
 * @a cfg is the @c SVN_CONFIG_CATEGORY_CONFIG configuration, and
327
347
 * @a cancel_func and @a cancel_baton control the cancellation of the
329
349
 *
330
350
 * Use @a pool for all allocations.
331
351
 *
 
352
 * @since New in 1.9.
 
353
 */
 
354
svn_error_t *
 
355
svn_cmdline_create_auth_baton2(svn_auth_baton_t **ab,
 
356
                               svn_boolean_t non_interactive,
 
357
                               const char *username,
 
358
                               const char *password,
 
359
                               const char *config_dir,
 
360
                               svn_boolean_t no_auth_cache,
 
361
                               svn_boolean_t trust_server_cert_unknown_ca,
 
362
                               svn_boolean_t trust_server_cert_cn_mismatch,
 
363
                               svn_boolean_t trust_server_cert_expired,
 
364
                               svn_boolean_t trust_server_cert_not_yet_valid,
 
365
                               svn_boolean_t trust_server_cert_other_failure,
 
366
                               svn_config_t *cfg,
 
367
                               svn_cancel_func_t cancel_func,
 
368
                               void *cancel_baton,
 
369
                               apr_pool_t *pool);
 
370
 
 
371
/* Like svn_cmdline_create_auth_baton2, but with only one trust_server_cert
 
372
 * option which corresponds to trust_server_cert_unknown_ca.
 
373
 *
 
374
 * @deprecated Provided for backward compatibility with the 1.8 API.
332
375
 * @since New in 1.6.
333
376
 */
334
377
svn_error_t *