On Fri, Sep 10, 2004, Herbert Skopnik V. wrote:

> Joseph and Rich:
> 
> In the previous code I obviated the "len" initialization, but it was initialized; 
> and I used what Rich said. The application did not crashed, but I got this error:
> 
> error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
> 
> I've not found any documentation about this error.
> 

It means it doesn't like the ASN1 format. If you posted the full error stack
(assuming there is one) then it would have given more info.

Try d2i_RSA_PUBKEY() and see if you have any more luck. Oh and I suggest you
read the FAQ/manual to get more info about the correct way to call the d2i_*()
functions.

If none of that helps why don't you post the DER key and I'll see if I can
recognize it.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to