Log Message: |
Follow up r1673044, avoid parsing certificates multiple times.
* subversion/svn/auth-cmd.c
(match_certificate): pass the certinfo back to the caller and
allocate it in a result_pool.
(match_credential): Add parameters to pass into match_certificate()
and adjust the match_certificate() calls.
(show_cert): Add a certinfo argument and shortcut parsing if the
certinfo is already filled.
(list_credential): Add a certinfo argument to pass into show_cert()
and adjust show_cert() call.
(walk_credentials): Adjust calls to match_credential() and
list_credential() accordingly.
|