You've already forked linux-packaging-mono
Imported Upstream version 4.8.0.309
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
This commit is contained in:
parent
ee1447783b
commit
94b2861243
@@ -225,7 +225,7 @@ namespace System.Security.Policy {
|
||||
// "possible" presence of an Authenticode signature
|
||||
[MethodImplAttribute (MethodImplOptions.InternalCall)]
|
||||
static extern bool IsAuthenticodePresent (Assembly a);
|
||||
#if NET_2_1
|
||||
#if MOBILE
|
||||
static internal Evidence GetDefaultHostEvidence (Assembly a)
|
||||
{
|
||||
return new Evidence ();
|
||||
@@ -251,7 +251,7 @@ namespace System.Security.Policy {
|
||||
}
|
||||
|
||||
// strongnamed assemblies gets a StrongName evidence
|
||||
AssemblyName an = a.UnprotectedGetName ();
|
||||
AssemblyName an = a.GetName ();
|
||||
byte[] pk = an.GetPublicKey ();
|
||||
if ((pk != null) && (pk.Length > 0)) {
|
||||
StrongNamePublicKeyBlob blob = new StrongNamePublicKeyBlob (pk);
|
||||
@@ -287,7 +287,7 @@ namespace System.Security.Policy {
|
||||
return e;
|
||||
}
|
||||
|
||||
#endif // NET_2_1
|
||||
#endif // MOBILE
|
||||
|
||||
private class EvidenceEnumerator : IEnumerator {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user