projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92a45d5
)
[Bind] Declare key file is only read
author
Fraser Waters
<frassle@gmail.com>
Thu, 1 Oct 2015 11:19:21 +0000
(12:19 +0100)
committer
Fraser Waters
<frassle@gmail.com>
Thu, 1 Oct 2015 11:19:21 +0000
(12:19 +0100)
Partly fixes #284
Source/Generator.Rewrite/Program.cs
patch
|
blob
|
history
diff --git
a/Source/Generator.Rewrite/Program.cs
b/Source/Generator.Rewrite/Program.cs
index
873d6e4
..
a204eab
100644
(file)
--- a/
Source/Generator.Rewrite/Program.cs
+++ b/
Source/Generator.Rewrite/Program.cs
@@
-82,7
+82,7
@@
namespace OpenTK.Rewrite
if (!String.IsNullOrEmpty(keyfile) && File.Exists(keyfile))
{
keyfile = Path.GetFullPath(keyfile);
- var fs = new FileStream(keyfile, FileMode.Open);
+ var fs = new FileStream(keyfile, FileMode.Open
, FileAccess.Read
);
var keypair = new System.Reflection.StrongNameKeyPair(fs);
fs.Close();
write_params.StrongNameKeyPair = keypair;