summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjmagne <jmagne@fba4d07e-fe0f-4d7f-8147-e0026e666dc0>2007-08-11 00:57:06 +0000
committerjmagne <jmagne@fba4d07e-fe0f-4d7f-8147-e0026e666dc0>2007-08-11 00:57:06 +0000
commitfa16ee0ed50ef360aec5d7b9ccfa523e5832b521 (patch)
tree4cd662dc075f960604465b8f22e56355f62c3299 /src
parenta27b0955fd53e4ac791e3ac2d3e3c5ecb5b60d16 (diff)
Fix minor error in reading in signature file. #251773 r. rrelyea
git-svn-id: http://svn.fedorahosted.org/svn/coolkey/trunk@65 fba4d07e-fe0f-4d7f-8147-e0026e666dc0
Diffstat (limited to 'src')
-rw-r--r--src/windows/csp/RegDll.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows/csp/RegDll.cpp b/src/windows/csp/RegDll.cpp
index 08ece93..66f1a96 100644
--- a/src/windows/csp/RegDll.cpp
+++ b/src/windows/csp/RegDll.cpp
@@ -140,7 +140,7 @@ getSignature(const char *cspLibrary, unsigned char **returnedSig,
return ERROR_NOT_ENOUGH_MEMORY;
}
- fd = open (sigFile, O_RDONLY);
+ fd = open (sigFile, O_RDONLY | O_BINARY);
free(sigFile);
if (fd < 0) {
return GetLastError();