projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* roottypes.cs: Rename from tree.cs.
[mono.git]
/
mcs
/
class
/
Mono.Security
/
Mono.Security.Authenticode
/
AuthenticodeDeformatter.cs
diff --git
a/mcs/class/Mono.Security/Mono.Security.Authenticode/AuthenticodeDeformatter.cs
b/mcs/class/Mono.Security/Mono.Security.Authenticode/AuthenticodeDeformatter.cs
index a9296af3373d82d99eb5ca0c9c5214a72fa9eb2c..766c279d52ae862cd6818ff71b539aa992ed9c74 100644
(file)
--- a/
mcs/class/Mono.Security/Mono.Security.Authenticode/AuthenticodeDeformatter.cs
+++ b/
mcs/class/Mono.Security/Mono.Security.Authenticode/AuthenticodeDeformatter.cs
@@
-210,8
+210,10
@@
namespace Mono.Security.Authenticode {
}
base.Close ();
- if (!signedHash.CompareValue (hash))
+ if (!signedHash.CompareValue (hash)) {
+ reason = 2;
return false;
+ }
// messageDigest is a hash of spcIndirectDataContext (which includes the file hash)
byte[] spcIDC = spc [0].Value;