Skip to content

Commit

Permalink
Merge branch 'master' into refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Aug 13, 2013
2 parents 1785d16 + 6a97955 commit ad63ef4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/hudson/scm/SubversionSCM.java
Original file line number Diff line number Diff line change
Expand Up @@ -1678,9 +1678,11 @@ public SslClientCertificateCredential(File certificate, String password) throws
public SVNAuthentication createSVNAuthentication(String kind) {
if(kind.equals(ISVNAuthenticationManager.SSL))
try {
return new SVNSSLAuthentication(
SVNSSLAuthentication authentication = new SVNSSLAuthentication(
Base64.decode(certificate.getPlainText().toCharArray()),
Scrambler.descramble(password),false);
Scrambler.descramble(password), false);
authentication.setCertificatePath("dummy"); // TODO: remove this JENKINS-19175 workaround
return authentication;
} catch (IOException e) {
throw new Error(e); // can't happen
}
Expand Down

0 comments on commit ad63ef4

Please sign in to comment.