mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-10 07:09:32 +00:00
Update HashDb class for SleuthkitJNI API change
This commit is contained in:
parent
d1f3be1fba
commit
68c857f587
@ -192,12 +192,7 @@ public class HashDb implements Comparable<HashDb> {
|
|||||||
AbstractFile file = (AbstractFile)content;
|
AbstractFile file = (AbstractFile)content;
|
||||||
// TODO: Add support for SHA-1 and SHA-256 hashes.
|
// TODO: Add support for SHA-1 and SHA-256 hashes.
|
||||||
if (null != file.getMd5Hash()) {
|
if (null != file.getMd5Hash()) {
|
||||||
if (type == KnownFilesType.NSRL) {
|
result = SleuthkitJNI.lookupInHashDatabase(file.getMd5Hash(), handle);
|
||||||
result = SleuthkitJNI.lookupInNSRLDatabase(file.getMd5Hash());
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
result = SleuthkitJNI.lookupInHashDatabase(file.getMd5Hash(), handle);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user