Author: rhuijben
Date: Fri Oct 14 09:56:11 2016
New Revision: 1764851

URL: http://svn.apache.org/viewvc?rev=1764851&view=rev
Log:
Fix temporarily accepting ssl certificate not working in javahl.

* subversion/bindings/javahl/native/Prompter.cpp
  (accept certificate temporarily): set the accepted failures to the
   identified failures in the temporarily accepted section.

Patch by: Doros Agathangelou <doros{_AT_}triadiktyo.com>
(slightly reformatted by me)

Modified:
    subversion/trunk/subversion/bindings/javahl/native/Prompter.cpp

Modified: subversion/trunk/subversion/bindings/javahl/native/Prompter.cpp
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/native/Prompter.cpp?rev=1764851&r1=1764850&r2=1764851&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/native/Prompter.cpp (original)
+++ subversion/trunk/subversion/bindings/javahl/native/Prompter.cpp Fri Oct 14 
09:56:11 2016
@@ -597,6 +597,7 @@ CompatPrompter::dispatch_ssl_server_trus
     {
     case 
org_apache_subversion_javahl_callback_UserPasswordCallback_AcceptTemporary:
       cred->may_save = FALSE;
+      cred->accepted_failures = failures;
       *cred_p = cred;
       break;
     case 
org_apache_subversion_javahl_callback_UserPasswordCallback_AcceptPermanently:


Reply via email to