There were too many problems with the rutoken modules so I left them out of the
Windows build.
The first problem deals with the rutoken modules which define many duplicate
names.
It appears some code was copied from the Windows header file:
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Include\WinCrypt.h
Both rutoken and WinCrypt.h define: _RSAPUBKEY, RSAPUBKEY, _PUBLICKEYSTRUC,
PUBLICKEYSTRUC and BLOBHEADER. It looks like the structures where copied from
the winCrypt.h and BYTE replaced with u8, WORD replaced with uint16_t, and DWORD
replaced with unin32_t.
A portion of the output:
pkcs15-prkey-rutoken.c(45) : error C2011: '_RSAPUBKEY' : 'struct' type
redefiniion
C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\Include\wincrpt.h(759) :
see declaration of '_RSAPUBKEY'
pkcs15-prkey-rutoken.c(51) : error C2011: '_PUBLICKEYSTRUC' : 'struct' type
redfinition
C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\Include\wincrpt.h(752) :
see declaration of '_PUBLICKEYSTRUC'
Its not clear what should be done with the code.
There are other errors too, but the above should be addressed first.
So I dropped the rutoken code from the Windows build for now.
--
Douglas E. Engert <[EMAIL PROTECTED]>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel