can you pls send me a snippet of your code, where
you initialize NSS and use the function DecodeReqMessagesFromDER
thanks for all your help

Prasad

> Prasad wrote:
>  >>> as described in my previous mails, I get a BAD_DER error when
>  >>> i try to use CRMF_DecodeReqMsgFromDER, so tried shifting to
>  >>> DecodeReqMessagesFromDER, but this function caused an
>  >>> assertion failure: oidhash != NULL, at secoid.c:1649
> 
>  > i am using NSS-3.9
>  > heres the order of function calls (call stack)
>  >    CRMF_CreateCertReqMessagesFromDER =>
>  > crmf_decode_process_single_reqmsg =>
>  >    crmf_decode_process_controls =>  crmf_decode_process_single_control =>
>  >    SECOID_FindOIDTag =>  SECOID_FindOID =>  PR_Assert =>  abort
> 
> It apperas that you're using NSS without it being fully initialized first.
> NSS's internal hash table of OIDs hasn't been initialized, which is
> what this assertion is reporting.  That table would be initialized if
> NSS had been fully initialized.
> 
> BTW, I ran your data through  DecodeReqMessagesFromDER without any problem.


_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to