mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Ignore MDDF password if not present.
This commit is contained in:
@@ -39,6 +39,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Configuration;
|
||||
using System.CodeDom.Compiler;
|
||||
|
||||
namespace DiscImageChef.Filesystems.LisaFS
|
||||
{
|
||||
@@ -79,7 +80,11 @@ namespace DiscImageChef.Filesystems.LisaFS
|
||||
xattrs = new List<string>();
|
||||
|
||||
if(fileId == FILEID_MDDF)
|
||||
xattrs.Add("com.apple.lisa.password");
|
||||
{
|
||||
byte[] buf = Encoding.ASCII.GetBytes(mddf.password);
|
||||
if(buf.Length > 0)
|
||||
xattrs.Add("com.apple.lisa.password");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user