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/26 14:25:28 UTC

svn commit: r1151073 - /subversion/trunk/subversion/libsvn_subr/gpg_agent.c

Author: stsp
Date: Tue Jul 26 12:25:27 2011
New Revision: 1151073

URL: http://svn.apache.org/viewvc?rev=1151073&view=rev
Log:
* subversion/libsvn_subr/gpg_agent.c
  (password_set_gpg_agent): Fix typo in comment.
  (simple_gpg_agent_first_creds): Add docstring.
   simple_gpg_agent_save_creds): Change docstring. The old docstring
    was wrong because this provider does not encrypt anything.

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

Modified: subversion/trunk/subversion/libsvn_subr/gpg_agent.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/gpg_agent.c?rev=1151073&r1=1151072&r2=1151073&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/gpg_agent.c (original)
+++ subversion/trunk/subversion/libsvn_subr/gpg_agent.c Tue Jul 26 12:25:27 2011
@@ -254,7 +254,7 @@ password_get_gpg_agent(const char **pass
       close(sd);
       return FALSE;
     }
-  /* The agent will terminate its reponse with "OK". */
+  /* The agent will terminate its response with "OK". */
   if (!receive_from_gpg_agent(sd, buffer, BUFFER_SIZE))
     {
       close(sd);
@@ -393,6 +393,7 @@ password_set_gpg_agent(apr_hash_t *creds
 }
 
 
+/* An implementation of svn_auth_provider_t::first_credentials() */
 static svn_error_t *
 simple_gpg_agent_first_creds(void **credentials,
                              void **iter_baton,
@@ -410,7 +411,7 @@ simple_gpg_agent_first_creds(void **cred
 }
 
 
-/* Save encrypted credentials to the simple provider's cache. */
+/* An implementation of svn_auth_provider_t::save_credentials() */
 static svn_error_t *
 simple_gpg_agent_save_creds(svn_boolean_t *saved,
                             void *credentials,