I am sorry i keep bothering you guys, but i am stucked here.
function d2i_DHparams() is created in the following macros:
#define IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(stname, itname, fname) \
stname *d2i_##fname(stname **a, const unsigned char **in, long len) \
{ \
return (stname *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
ASN1_ITEM_rptr(itname));\
} \
int i2d_##fname(const stname *a, unsigned char **out) \
{ \
return ASN1_item_i2d((ASN1_VALUE *)a, out,
ASN1_ITEM_rptr(itname));\
}
also, we have
#define ASN1_ITEM_rptr(ref) (&(ref##_it))
but i can not fine the place where variable or function "DHparams_it" is
defined. do you know how to find this variable?
thanks
From: Bernhard Froehlich <[EMAIL PROTECTED]>
Reply-To: openssl-users@openssl.org
To: openssl-users@openssl.org
Subject: Re: body part of function i2d_DHparams()
Date: Mon, 27 Mar 2006 20:42:57 +0200
LIDA WANG wrote:
Does anyone know how to find the body part of function i2d_DHparams()? I
can only find the definition part of this function
I think it is created by the macro
IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname in file crypto/dh/dh_asn1.c.
The macro is defined in crypto/asn1/asn1t.h.
Hope it helps,
Ted
;)
<< smime.p7s >>
_________________________________________________________________
Dont just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]