Thank you Aleksey. I was missing settings. I was missing some CFLAGS. Running "xmlsec1-config --cflags" helped clear that up.
-Tom Thomas Floodeen, Jr. Mentor Graphics BSD 720.494.1133 -----Original Message----- From: Aleksey Sanin [mailto:[email protected]] Sent: Monday, June 06, 2011 10:42 AM To: Floodeenjr, Thomas Cc: [email protected] Subject: Re: [xmlsec] encryption failed Sounds like there is a problem in data sizes in the structures. Make sure you use the same compiler flags when compiling the library and the program. Aleksey On 6/6/11 9:07 AM, Floodeenjr, Thomas wrote: > Hello, > > I get this output when trying to run a small test on Linux amd64: > > func=xmlSecEncCtxEncDataNodeRead:file=xmlenc.c:line=809:obj=unknown:subj=encCtx->mimeType > == NULL:error=100:assertion: > func=xmlSecEncCtxBinaryEncrypt:file=xmlenc.c:line=323:obj=unknown:subj=xmlSecEncCtxEncDataNodeRead:error=1:xmlsec > library function failed: > Error: encryption failed > > What do I need to look for to resolve this? The same code works fine on > 32-bit Linux and on Windows. > > Thanks, > -Tom > > > Thomas Floodeen, Jr. > Mentor Graphics BSD > 720.494.1133 > _______________________________________________ > xmlsec mailing list > [email protected] > http://www.aleksey.com/mailman/listinfo/xmlsec _______________________________________________ xmlsec mailing list [email protected] http://www.aleksey.com/mailman/listinfo/xmlsec
