RE: C++ compatability

2007-09-12 Thread Phillips, Justin - ACD
the header file? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Saju Paul Sent: Tuesday, September 11, 2007 3:23 PM To: openssl-users@openssl.org Subject: RE: C++ compatability is the compile error on the header file (asn1.h) or at the call ? copy and paste

RE: C++ compatability

2007-09-12 Thread Saju Paul
is something that I might try next. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Phillips, Justin - ACD Sent: Wednesday, September 12, 2007 9:07 AM To: openssl-users@openssl.org Subject: RE: C++ compatability The error is on the header file asn1.h. I have

C++ compatability

2007-09-11 Thread Phillips, Justin - ACD
I am trying to call the HMAC function (openssl 0.9.8e) within my C++ code. When I include openssl/hmac.h I get compilation errors on the asn1.h file at lines 905, 915, 920, 933, 938, and 985 all saying invalid conversion from 'void (*)() to 'void*'. This makes sense because the libraries are

RE: C++ compatability

2007-09-11 Thread Phillips, Justin - ACD
Of Saju Paul Sent: Tuesday, September 11, 2007 2:37 PM To: openssl-users@openssl.org Subject: RE: C++ compatability extern C { // defn... } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Phillips, Justin - ACD Sent: Tuesday, September 11, 2007 2:20 PM

RE: C++ compatability

2007-09-11 Thread Saju Paul
@openssl.org Subject: RE: C++ compatability I have the following code but I still get the compile errors described below. There are no other openssl includes or function calls other than what is shown below. extern C { #include openssl/hmac.h } -Original Message- From: [EMAIL PROTECTED

Re: C++ compatability

2007-09-11 Thread Thomas J. Hruska
To: openssl-users@openssl.org Subject: RE: C++ compatability I have the following code but I still get the compile errors described below. There are no other openssl includes or function calls other than what is shown below. extern C { #include openssl/hmac.h } -Original Message- From

RE: C++ compatability

2007-09-11 Thread Saju Paul
, 2007 3:38 PM To: openssl-users@openssl.org Subject: Re: C++ compatability Saju Paul wrote: is the compile error on the header file (asn1.h) or at the call ? copy and paste the error include any necessary code. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf

Re: C++ compatability

2007-09-11 Thread Thomas J. Hruska
Saju Paul wrote: It is very clear that you Thomas have never ever used the hmac routines !! Oops. And you're right. I've never used them. Just looked them up (lazy me). Definitely requires the openssl/hmac.h file (but it never hurts to include the others - particularly the err.h file).

Re: C++ compatability

2007-09-11 Thread Steffen DETTMER
* Phillips, Justin - ACD wrote on Tue, Sep 11, 2007 at 14:20 -0400: I am trying to call the HMAC function (openssl 0.9.8e) within my C++ code. When I include openssl/hmac.h I get compilation errors on the asn1.h file at lines 905, 915, 920, 933, 938, and 985 all saying invalid conversion

Re: C++ compatability

2007-09-11 Thread Bruce Stephens
Saju Paul [EMAIL PROTECTED] writes: It is very clear that you Thomas have never ever used the hmac routines !! So how you entertain yourself is irrelevant to the problem being discussed. thank you. You'll need to give more information. For me, the following C++ program compiles, links (needs