[xmlsec] whats is the correct way to reset dsigCtx, without destroing it?
Aleksey Sanin
aleksey at aleksey.com
Tue Dec 5 11:06:51 PST 2017
Use either xmlSecDSigCtxCreate/xmlSecDSigCtxDestroy or
xmlSecDSigCtxInitialize/xmlSecDSigCtxFinalize depending on
whether you create it on the heap or on the stack.
Aleksey
On 12/5/17 4:15 AM, Ranier VF wrote:
> Hi,
> I'm around one problem with sign xml with function: xmlSecDSigCtxSign
> func=xmlSecDSigCtxSign:file=..\src\xmldsig.c:line=274:obj=unknown:subj=dsigCtx->
> result == NULL:error=100:assertion:
>
> On first sign, all is ok, the xml is correctly signed.
> On second sign, the error is raised.
>
> Question: whats is the correct way to reset dsigCtx, without destroing it?
> In case, I'm reusing struct dsigCtx.
>
> Thank you.
>
> Best regards,
>
> Ranier Vilela
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
>
More information about the xmlsec
mailing list