[xmlsec] encryption failed

Aleksey Sanin aleksey at aleksey.com
Mon Jun 6 09:42:04 PDT 2011


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


More information about the xmlsec mailing list