OCaml Forge
SCM

Detail: [#1055] Unresolved symbol CryptReleaseContext

Bugs: Browse | Download .csv | Monitor

[#1055] Unresolved symbol CryptReleaseContext

Date:
2011-11-09 16:56
Priority:
3
State:
Closed
Submitted by:
Thomas Ripoche (bltxd)
Assigned to:
Sylvain Le Gall (gildor-admin)
Hardware:
PC
Resolution:
Accepted As Bug
Severity:
normal
Version:
None
Component:
None
Operating System:
Windows XP
Product:
None
 
URL:
Summary:
Unresolved symbol CryptReleaseContext

Detailed description
On win32/msvc, cryptokit uses CryptReleaseContext which is provided by linking with advapi32.lib.


----8<----
diff -Naur cryptokit-1.5.orig/_oasis cryptokit-1.5/_oasis
--- cryptokit-1.5.orig/_oasis 2011-06-23 18:01:19.000000000 +0000
+++ cryptokit-1.5/_oasis 2011-11-09 16:23:00.000000000 +0000
@@ -62,6 +62,8 @@
if flag(zlib)
CCOpt: -O -DHAVE_ZLIB
CCLib: -lz
+ if os_type(Win32)
+ CCLib: advapi32.lib

Executable test
Path: test
----8<----

Followup

Message
Date: 2011-11-09 16:59
Sender: Thomas Ripoche

As a patch file

Attached Files:

Attachments:
add_advapi32_lib.patch

Changes:

Field Old Value Date By
status_idOpen2013-08-15 23:04gildor-admin
close_dateNone2013-08-15 23:04gildor-admin
ResolutionNone2011-11-09 17:08gildor-admin
assigned_tonone2011-11-09 17:08gildor-admin
File Added145: add_advapi32_lib.patch2011-11-09 16:59bltxd