summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cli_ure/source/climaker/climaker_app.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli_ure/source/climaker/climaker_app.cxx b/cli_ure/source/climaker/climaker_app.cxx
index efff92ded838..97191829e10a 100644
--- a/cli_ure/source/climaker/climaker_app.cxx
+++ b/cli_ure/source/climaker/climaker_app.cxx
@@ -462,7 +462,8 @@ SAL_IMPLEMENT_MAIN()
::System::String ^ sKeyFile = ustring_to_String(keyfile);
try {
System::IO::FileStream^ fs = gcnew System::IO::FileStream(
- sKeyFile, System::IO::FileMode::Open);
+ sKeyFile, System::IO::FileMode::Open,
+ System::IO::FileAccess::Read, System::IO::FileShare::Read);
kp = gcnew StrongNameKeyPair(fs);
fs->Close();
}