RE: SSL Compile Problem II

2006-06-26 Thread Randy
Got it, had two different ssl.h files on the system. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Randy Sent: Monday, June 26, 2006 10:12 AM To: openssl-users@openssl.org Subject: SSL Compile Problem II This code compiles and links fine. If I

Re: SSL Compile Problem II

2006-06-26 Thread Darryl Miles
Randy wrote: Unfortunately that is how I orginally had it but that generates the same error. SSL *ssl_x; Generates UX:acomp: ERROR: "curl_dip.c", line 271: undefined symbol: ssl_x UX:acomp: WARNING: "curl_dip.c", line 457: assignment type mismatch *** Error code 1 (bu21)

RE: SSL Compile Problem II

2006-06-26 Thread Randy
u21) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darryl Miles Sent: Monday, June 26, 2006 10:14 AM To: openssl-users@openssl.org Subject: Re: SSL Compile Problem II Randy wrote: > This code compiles and links fine. If I uncomment the SSL_new l

Re: SSL Compile Problem II

2006-06-26 Thread Darryl Miles
Darryl Miles wrote: SSL_new is not a type, but a function: "int SSL_new(SSL *);" Opps: SSL_new is not a type, but a function: "SSL *SSL_new(SSL_CTX *);" So then you'd use: ssl_x = SSL_new(ctx); __ OpenSSL Project

Re: SSL Compile Problem II

2006-06-26 Thread Darryl Miles
Randy wrote: This code compiles and links fine. If I uncomment the SSL_new line I get "undefined symbol: ssl_x" SSL_CTX *ctx; // SSL_new *ssl_x; SSL_new is not a type, but a function: "int SSL_new(SSL *);" #include SSL *ssl_x; should work. HTH Darryl

SSL Compile Problem II

2006-06-26 Thread Randy
This code compiles and links fine. If I uncomment the SSL_new line I get "undefined symbol: ssl_x" SSL_CTX *ctx; // SSL_new *ssl_x; /* Initializing OpenSSL */ SSL_load_error_strings();/* readable error messages */ SSL_library_init();