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();

RE: SSL Compile problem

2006-06-24 Thread Randy
Got past this just by including ssl.h first. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marek Marcola Sent: Friday, June 23, 2006 8:16 PM To: openssl-users@openssl.org Subject: Re: SSL Compile problem Hello, > Writing an SSL socket program

Re: SSL Compile problem

2006-06-23 Thread Marek Marcola
Hello, > Writing an SSL socket program but when I include ssl.h I get the same sort > of errors on all systems like below. This happens even on a new blank c > program. > > This is always the line in ssl.h that causes the first error > > typedef struct ssl_st SSL; > cc -gc -I../include

SSL Compile problem

2006-06-23 Thread Randy
openssl-users@openssl.org, Built or installed various versions of OpenSSL onto three different systems. Writing an SSL socket program but when I include ssl.h I get the same sort of errors on all systems like below. This happens even on a new blank c program. This is always the line in ssl.h

SSL compile problem with courier-imap

2005-04-26 Thread R H
hi there courier-imap: 4.0.2 openssl: 0.9.7g im trying to compile courier imap with ssl support. but i get following error while compiling: my main question is: does this error occurs because of a wrong installed openssl - or is it a courier imap problem? - libcouriertls.c: In Funktion »get