Re: Regd ASN1_ITEM_rptr( )

2004-09-19 Thread Sravan
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? Consid

Re: Regd ASN1_ITEM_rptr( )

2004-09-17 Thread Dr. Stephen Henson
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( ).

Re: Regd ASN1_ITEM_rptr( )

2004-09-16 Thread Dr. Stephen Henson
On Thu, Sep 16, 2004, Sravan wrote: > Dr. Stephen Henson wrote: > > But what if I *dont *wish to use the shared library(in which the > functions that return pointers to structures are present)? > In my case, I need to use say a function like X509_free( ) with out > linking libeay32.lib(in case

Re: Regd ASN1_ITEM_rptr( )

2004-09-15 Thread Sravan
Dr. Stephen Henson wrote: On Wed, Sep 15, 2004, Sravan wrote: Hi, I have been using X509 related functions in my code and for the definitions of functions like X509_free( ), I am using the macro IMPLEMENT_ASN1_FUNCTIONS(X509). In that macro expansion, ASN1_ITEM_rptr(X509) is us

Re: Regd ASN1_ITEM_rptr( )

2004-09-15 Thread Dr. Stephen Henson
On Wed, Sep 15, 2004, Sravan wrote: > Hi, > I have been using X509 related functions in my code and for the > definitions of functions like X509_free( ), I am using the macro > IMPLEMENT_ASN1_FUNCTIONS(X509). In that macro expansion, > ASN1_ITEM_rptr(X509) is used which expands to X509_it( ). I

Re: Regd ASN1_ITEM_rptr( )

2004-09-15 Thread El hallabi-Kettani Abderrahmane
try this DECLARE_ASN1_FUNCTIONS(name) . DECLARE_ASN1_ITEM(name) may be used for The Platforms that can't easily handle shared global variables , then are declared as functions returning ASN1_ITEM pointers. see that too: #define DECLARE_ASN1_ITEM(name) \ const ASN1_ITEM * name##_it(void);

Re: Regd ASN1_ITEM_rptr( )

2004-09-15 Thread Sravan
El hallabi-Kettani Abderrahmane wrote: First it's not a function it's a macro , you'll find it in asn1/asn1.h #define ASN1_ITEM_rptr(ref) (ref##_it()) Actually I was talking about the expansion of the macro ASN1_ITEM_rptr itself. Say if i use IMPLEMENT_ASN1_FUNCTIONS(X509), one of the resul

Re: Regd ASN1_ITEM_rptr( )

2004-09-15 Thread El hallabi-Kettani Abderrahmane
First it's not a function it's a macro , you'll find it in asn1/asn1.h #define ASN1_ITEM_rptr(ref) (ref##_it()) Normally the IMPLEMENT_ASN1_FUNCTIONS(X509) will do the trick . Else the macro will help : #define DECLARE_ASN1_ITEM(name) OPENSSL_EXTERN const ASN1_ITEM name##_it; Abdou

Regd ASN1_ITEM_rptr( )

2004-09-14 Thread Sravan
Hi, I have been using X509 related functions in my code and for the definitions of functions like X509_free( ), I am using the macro IMPLEMENT_ASN1_FUNCTIONS(X509). In that macro expansion, ASN1_ITEM_rptr(X509) is used which expands to X509_it( ). I couldn't get the definition of this function