sh wrote:
> Hi there, I need a little CMS wraper. I need decode S/MIME message chunk 
> by chunk. I start make it based on cmsutil.  But I receive "segmentation 
> fault" every time on call NSS_CMSDecoder_Update. What's wrong?
> 
> 
> 
> 
> //----- wraper code
> 
> #include <unistd.h>
> 
> #include <stdio.h>
> #include <string.h>
> 
> #include <vector>
> #include <string>
> 
>  class SmimeDecoder //: public sigslot::has_slots<>
> {
> public:
> 
>     SmimeDecoder();
>     SmimeDecoder(SmimeDecoder& sd);
>     ~SmimeDecoder();

............. skipped
> 
> private:
............. skipped
> 
>     NSSCMSDecoderContext *_decoder_context;
> 
> };

How I can delete context _decoder_context? I not found function to 
delete this memory, so I have memory leaks.
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to