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)


-----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 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 <openssl/ssl.h>
SSL *ssl_x;

should work.


HTH

Darryl
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to