[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 7174 - in trunk/subversion: clients/cmdline include libsvn_client libsvn_ra_dav

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-09-24 18:52:56 CEST

sussman@tigris.org writes:

> Author: sussman
> Date: Wed Sep 24 09:50:23 2003
> New Revision: 7174
>
> Modified:
> trunk/subversion/clients/cmdline/prompt.c
> trunk/subversion/include/svn_auth.h
> trunk/subversion/libsvn_client/auth.c
> trunk/subversion/libsvn_ra_dav/session.c
> Log:
> Improved SSL cert caching, from Tobias Ringstrom.

> + apr_hash_set (creds_hash,
> + SVN_CLIENT__AUTHFILE_ASCII_CERT_KEY,
> + APR_HASH_KEY_STRING,
> + svn_string_create (cert_info->ascii_cert, pool));
> + apr_hash_set (creds_hash,
> + SVN_CLIENT__AUTHFILE_FAILURES_KEY,
> + APR_HASH_KEY_STRING,
> + svn_string_createf(pool, "%d", creds->accepted_failures));

If I understand this correctly it means that the SVN_AUTH_SSL_XXX
values from svn_auth.h are stored in the auth cache on disk.
svn_auth.h should document this fact as the values now matter and
changing them has consequences.

> +
> SVN_ERR (svn_config_write_auth_data (creds_hash,
> - pb->cred_kind,
> - ascii_cert,
> + SVN_AUTH_CRED_SERVER_SSL,
> + pb->realmstring,
> config_dir,
> pool));

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 24 18:54:01 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.