mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-07 22:06:59 -06:00
15.12
This commit is contained in:
committed by
Kornel Lesiński
parent
e24f7fba53
commit
5de23c1deb
@@ -373,6 +373,8 @@ STDMETHODIMP CHandler::GetProperty(UInt32 index, PROPID propID, PROPVARIANT *val
|
||||
ConvertUInt32ToString(f.AlgId, temp + 1);
|
||||
m += temp;
|
||||
}
|
||||
if (f.CertificateIsUsed())
|
||||
m += "-Cert";
|
||||
}
|
||||
else
|
||||
m += kMethod_StrongCrypto;
|
||||
|
||||
@@ -109,6 +109,8 @@ struct CStrongCryptoExtra
|
||||
Flags = GetUi16(p + 6);
|
||||
return (Format == 2);
|
||||
}
|
||||
|
||||
bool CertificateIsUsed() const { return (Flags > 0x0001); }
|
||||
};
|
||||
|
||||
struct CExtraBlock
|
||||
|
||||
Reference in New Issue
Block a user