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
>
> #include
> #inclu
sh wrote:
GDB give me this backtrace:
Oh, you aren't calling any form of NSS_Init (see nss.h for the various
flavors). Unless you initialize NSS, most of your NSS subsystems will
not be available (In this case OID processing).
bob
(gdb) bt
#0 0x00c4b704 in PL_HashTableLookupConst () from /
I'm forget initialize library fist. sorry
sh wrote:
GDB give me this backtrace:
(gdb) bt
#0 0x00c4b704 in PL_HashTableLookupConst () from /usr/lib/libplds4.so
#1 0x06c5c4cf in SECOID_FindOID () from /usr/lib/libnss3.so
#2 0x00d426c5 in NSS_CMSContentInfo_GetContentTypeTag () from
/usr/lib/l
GDB give me this backtrace:
(gdb) bt
#0 0x00c4b704 in PL_HashTableLookupConst () from /usr/lib/libplds4.so
#1 0x06c5c4cf in SECOID_FindOID () from /usr/lib/libnss3.so
#2 0x00d426c5 in NSS_CMSContentInfo_GetContentTypeTag () from
/usr/lib/libsmime3.so
#3 0x00d4372b in NSS_CMSContentInfo_GetBu
Bob Relyea wrote:
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?
2) (most likely) you are passing a C++ method as one or
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?
Without review your code, I would guess your problem may fall in one of
2 a
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
#include
#include
#include
#include
class Sm
7 matches
Mail list logo