mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-09 14:49: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;
|
||||
// TODO: Add support for SHA-1 and SHA-256 hashes.
|
||||
if (null != file.getMd5Hash()) {
|
||||
if (type == KnownFilesType.NSRL) {
|
||||
result = SleuthkitJNI.lookupInNSRLDatabase(file.getMd5Hash());
|
||||
}
|
||||
else {
|
||||
result = SleuthkitJNI.lookupInHashDatabase(file.getMd5Hash(), handle);
|
||||
}
|
||||
result = SleuthkitJNI.lookupInHashDatabase(file.getMd5Hash(), handle);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user