Dr. Stephen Henson wrote:
On Fri, Sep 17, 2004, Sravan wrote:

  
One final doubt... the library libeay32.lib is itself built from the 
source code of OpenSSL. that means, for all the functions exported from 
libeay32.lib, there should be definitions in the OpenSSL code right?
Consider as an example X509_free( ). When i say 
IMPLEMENT_ASN1_FUNCTIONS(X509), the definition of X509_free will be

void X509_free(X509 *a)
{
   ASN1_item_free((ASN1_VALUE *)a, ASN1_ITEM_rptr(X509)) ;
}

The definition for  ASN1_item_free is present in tasn_fre.c and I am 
able to resolve all the dependencies of that function.
But the problem is with ASN1_ITEM_rptr(X509), which expands to X509_it( 
) in my case.


    

That is defined in the appropriate ASN1 module. In this case
crypto/asn1/x_x509.c
  

thanks for your help. I got it now.
Sravan

Reply via email to