Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/dh_PasswordHardCoded_Fix' into d…
Browse files Browse the repository at this point in the history
…h_PasswordHardCoded_Fix
  • Loading branch information
Dave Humphreys committed Oct 31, 2018
2 parents d0cdea1 + f2c57ff commit 2dab27b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ internal partial class AndroidAccountStore : AccountStore
static readonly char[] PasswordHardCodedOriginal = "System.Char[]".ToCharArray();

public AndroidAccountStore(Context context)
: this(context, new string(PasswordHardCoded))
: this(context, new string(PasswordHardCoded))
{
return;
}
Expand All @@ -67,7 +67,7 @@ public AndroidAccountStore(Context context, string password)
if (password == null)
{
throw new ArgumentNullException("password");
}
}

Password = password.ToCharArray();

Expand Down Expand Up @@ -112,7 +112,7 @@ public AndroidAccountStore(Context context, string password)
//try with the original password
MigrateKeyStore(context, PasswordHardCodedOriginal);
}
catch (Java.IO.IOException ex2)
catch ()
{
//migrate using the default
MigrateKeyStore(context);
Expand Down

0 comments on commit 2dab27b

Please sign in to comment.