opensc/win32
sth af89c9b3fd Dont include DllMain in the exports
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@980 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-07 10:44:18 +00:00
..
Make.rules.mak Compile with /MD (multithreaded) instead of /ML 2003-03-06 12:08:36 +00:00
makedef.pl Dont include DllMain in the exports 2003-04-07 10:44:18 +00:00
readme.txt Corrections/additions for compiling with OpenSSL on Windows 2003-03-06 12:13:48 +00:00

readme.txt

How to add openssl for extended functionality
(e.g. hash mechanisms, the pkcs15-init tool, more signature
mechanism)

- download and compile the openssl sources from
  http://www.openssl.org/source/

- Add the inc32\ dir to your include path,
      the out32dll\ to your lib path and your executable path
  set include=%include%;.....\inc32
  set lib=%lib%;.....\out32dll
  set path=%path%;....\out32dll

- In src/tools/Makefile.mak
  - uncomment pkcs15-init.exe in the "TARGETS" line  (optionally)
  - Add libeay32.lib to the "link" line

- In src/libopensc/Makefile.mak
  - Add libeay32.lib to the "link" line

- In src/pkcs11/Makefile.mak
  - Add libeay32.lib to the "link" line

- In win32/Make.rules.mak
  - Add /DHAVE_OPENSSL to the "COPTS" line


To add the OpenSSL code to the DLLs (so you won't need libeay32.dll
anymore): statically compile OpenSSL and add gdi32.lib next to
libeay32.lib in the 3 Makefile.mak files above.