On Tue, Feb 12, 2008, Shanku Roy wrote:

> Hi Folks,
>          Can anyone please point me to the location of function definition of 
> i2d_ASN1_INTEGER
> () in OpenSSL source code. I could trace only till the following in the 
> header files:
> 
> 
> file crypto/asn1/asn1.h:
> 
> #define I2D_OF(type) int (*)(type *,unsigned char **)
> 

It is defined through a macro in tasn_typ.c but that is just a wrapper round a
call to the ASN1 interpreter.

The actual content processing is in the function c2i_ASN1_INTEGER().

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

Reply via email to