AW: [xmlsec] Win32 rsa encryption with Aes192 session key crashes
Aleksey Sanin
aleksey at aleksey.com
Thu Jul 21 17:41:09 PDT 2005
Hm... Sorry but I can not reproduce this with MSVC7 and I have no VC6
around. BTW, how did you get "... in the xmlSecEncCtxXmlEncrypt()
funcction in Line 328 ..." ??? This function starts on line 358 for
xmlsec 1.2.8
Aleksey
Bundschuh, Goetz wrote:
> Hi,
> to run the Programm you need VC++ 6.0 Service Pack 6 with the Windows Core
> SDK Libraries Version Februar 2002 or newer installed.
> You have to use VC 6 because of the runtime requirements for the Windows
> binaries and need the Core SDK to get access to the MS Crypto-API headers
> and libs.
> If you copy the file into a empty Win32 Console Project in VC 6, you have to
> add the Include and Lib directory-paths of the core sdk and the xml-binaries
> (xmlsec, libxml2, libxslt, iconv, zlib) under Tools->Options->Directories.
> You also have to add Crypt32.lib zlib.lib iconv.lib libxml2.lib libxslt.lib
> libxmlsec.lib libxmlsec-mscrypto.lib under Project->Settings->Link->Input
> into the Library Modules field. It should then compile.
> Finaly you can start it with name.exe <xml-File>.
>
> Sorry about the Stack Trace, but it only Shows that the Access Violation
> occured in the xmlSecEncCtxXmlEncrypt() Function in Line 328. The VC 6
> Debugger didn't provide more detail.
>
> encrypt_file(_xmlSecKeysMngr * 0x005153b8, const char * 0x00a32d89, const
> char
> * 0x00a32dd8) line 328
> main(int 0x00000002, char * * 0x00a32d50) line 115 + 20 bytes
> mainCRTStartup() line 338 + 17 bytes
> KERNEL32! 77e6141a()
>
>
> Goetz
>
More information about the xmlsec
mailing list