Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2000-05-31 16:32:59 +0400
committerCorinna Vinschen <corinna@vinschen.de>2000-05-31 16:32:59 +0400
commitc719f9429a67574b3f22cb921af118fe69749389 (patch)
treec6f9be9d1ac451f3a4d0c4e8c6dc98785c1f0d14 /winsup/cygwin
parenta57b2f2cc00bd05b00591aeff024364576b57ae9 (diff)
* dcrt0.cc: Use LoadDLLfuncEx for loading Crypto API functions
with parameter `notimp' set to 1.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog9
-rw-r--r--winsup/cygwin/dcrt0.cc6
2 files changed, 10 insertions, 5 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index b8aa5b90f..fcbc0453b 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+Wed May 31 15:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
+
+ * dcrt0.cc: Use LoadDLLfuncEx for loading Crypto API functions
+ with parameter `notimp' set to 1.
+
Tue May 30 16:58:33 2000 Christopher Faylor <cgf@cygnus.com>
* path.cc (mount_info::conv_to_win32_path): Previous patch was too
@@ -38,13 +43,13 @@ Mon May 29 20:18:47 2000 Christopher Faylor <cgf@cygnus.com>
path when it translates to a drive. Add defensive code to avoid
writing beyond the end of 'dst'.
-Wed May 27 15:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
+Sat May 27 15:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
* fhandler_random.cc (read): Use CRYPT_MACHINE_KEYSET in
call to CryptAcquireContext() to serve users that did not
log in interactively.
-Wed May 26 11:16:00 2000 Corinna Vinschen <corinna@vinschen.de>
+Fri May 26 11:16:00 2000 Corinna Vinschen <corinna@vinschen.de>
* errno.cc (errmap): Map ERROR_BAD_NET_NAME to errno ENOSHARE.
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index c363d2e2f..335e5bfe5 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -1095,9 +1095,9 @@ LoadDLLfunc (AddAce, 20, advapi32)
LoadDLLfunc (AdjustTokenPrivileges, 24, advapi32)
LoadDLLfunc (CopySid, 12, advapi32)
LoadDLLfunc (CreateProcessAsUserA, 44, advapi32)
-LoadDLLfunc (CryptAcquireContextA, 20, advapi32)
-LoadDLLfunc (CryptGenRandom, 12, advapi32)
-LoadDLLfunc (CryptReleaseContext, 8, advapi32)
+LoadDLLfuncEx (CryptAcquireContextA, 20, advapi32, 1)
+LoadDLLfuncEx (CryptGenRandom, 12, advapi32, 1)
+LoadDLLfuncEx (CryptReleaseContext, 8, advapi32, 1)
LoadDLLfunc (DeregisterEventSource, 4, advapi32)
LoadDLLfunc (EqualSid, 8, advapi32)
LoadDLLfunc (GetAce, 12, advapi32)