[xmlsec] How to avoid the node passed to xmlSecEncCtxXmlEncrypt to be released

Aleksey Sanin aleksey at aleksey.com
Wed Mar 12 09:33:09 PST 2008


Well, you can always copy the node yourself before encrypting it.

Aleksey

Frank Gross wrote:
> Hi,
> 
>  I noticed that function 'xmlSecEncCtxXmlEncrypt' releases the node that 
> was encrypted when replaced by the 'EncryptedData' node.
> Does it exist a way to not release that node, and let the user choose 
> whether he wants to destroy it or not ?
> 
> Thanks,
> 
> Frank
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec



More information about the xmlsec mailing list