[xmlsec] encryption failed

Floodeenjr, Thomas thomas_floodeenjr at mentor.com
Mon Jun 6 11:44:07 PDT 2011

Thank you Aleksey. I was missing settings. I was missing some CFLAGS. Running "xmlsec1-config --cflags" helped clear that up.


Thomas Floodeen, Jr.
Mentor Graphics BSD

-----Original Message-----
From: Aleksey Sanin [mailto:aleksey at aleksey.com] 
Sent: Monday, June 06, 2011 10:42 AM
To: Floodeenjr, Thomas
Cc: xmlsec at aleksey.com
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.


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
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec

More information about the xmlsec mailing list