* added options to exclude libraries for faster build times (DEBUG only)
* implemented getFileEntry to get information about a single file * password activity is launched automatically if there are recent files
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<OutputPath>bin\Debug</OutputPath>
|
||||
<DefineConstants>DEBUG;</DefineConstants>
|
||||
<DefineConstants>DEBUG;EXCLUDE_KEYTRANSFORM</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>False</ConsolePause>
|
||||
@@ -155,7 +155,7 @@
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\kp2akeytransform\kp2akeytransform.csproj">
|
||||
<ProjectReference Include="..\kp2akeytransform\kp2akeytransform.csproj" Condition="!$(DefineConstants.Contains('EXCLUDE_KEYTRANSFORM'))">
|
||||
<Project>{A57B3ACE-5634-469A-88C4-858BB409F356}</Project>
|
||||
<Name>kp2akeytransform</Name>
|
||||
</ProjectReference>
|
||||
|
||||
@@ -165,10 +165,14 @@ namespace KeePassLib.Native
|
||||
|
||||
try
|
||||
{
|
||||
#if !EXCLUDE_KEYTRANSFORM
|
||||
Com.Keepassdroid.Crypto.Finalkey.NativeFinalKey key = new Com.Keepassdroid.Crypto.Finalkey.NativeFinalKey();
|
||||
|
||||
byte[] newKey = key.TransformMasterKey(pKey256, pBuf256, (int)uRounds);
|
||||
Array.Copy(newKey, pBuf256, newKey.Length);
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user