You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2011/07/25 22:21:22 UTC

svn commit: r1150883 - /subversion/trunk/subversion/libsvn_subr/auth.c

Author: stsp
Date: Mon Jul 25 20:21:21 2011
New Revision: 1150883

URL: http://svn.apache.org/viewvc?rev=1150883&view=rev
Log:
* subversion/libsvn_subr/auth.c
  (svn_auth_get_platform_specific_provider): The gpg_agent provider
   only implements the "simple" provider type for now. Do not attempt
   to use it for other types.

Modified:
    subversion/trunk/subversion/libsvn_subr/auth.c

Modified: subversion/trunk/subversion/libsvn_subr/auth.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/auth.c?rev=1150883&r1=1150882&r2=1150883&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/auth.c (original)
+++ subversion/trunk/subversion/libsvn_subr/auth.c Mon Jul 25 20:21:21 2011
@@ -392,7 +392,8 @@ svn_auth_get_platform_specific_provider
 
   if (apr_strnatcmp(provider_name, "gnome_keyring") == 0 ||
       apr_strnatcmp(provider_name, "kwallet") == 0 ||
-      apr_strnatcmp(provider_name, "gpg_agent") == 0)
+      (apr_strnatcmp(provider_name, "gpg_agent") == 0 &&
+       strcmp(provider_type, "simple") == 0))
     {
 #if defined(SVN_HAVE_GNOME_KEYRING) || defined(SVN_HAVE_KWALLET) || \
 defined(SVN_HAVE_GPG_AGENT)