Hello,

The OS is proprietary and the option I use which is relevant to this topic is 
OPENSSL_NO_SSL2. 
The other SSL and TLS protocol versions are enabled in my code.
I'm also compiling only a specific list of source files.
I shall add s23_meth.c to the list.

Many thanks,
Reyes

-----Original Message-----
From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] 
On Behalf Of Matt Caswell
Sent: 27 November 2014 23:56
To: openssl-users@openssl.org
Subject: Re: Question on option SSL_CTRL_CHECK_PROTO_VERSION (s3_lib.c)



On 27/11/14 17:31, Casado, Reyes wrote:
> Hello,
> 
>  
> 
> I use OpenSSL as a server implementation.
> 
> I'm upgrading my implementation from 1.0.1h to 1.0.1j and there have 
> been changes added to s3_lib.c, which break the compilation of my 
> implementation.
> 
> The issue is that the linker cannot locate the definition of 
> SSLv23_method(). My implementation has never compiled this function.
> 
>   
> 
> From my limited understanding of the OpenSSL code, I've been guessing 
> the call to SSLv23_method() (within 'case 
> SSL_CTRL_CHECK_PROTO_VERSION') in s3_lib.c is used for an internal 
> testing exercise? I could be wrong, please confirm.
> 
>  
> 
> I have compiled out that specific case and I'm able to link my code 
> successfully.
> 
> My question is:
> 
> Is that 'case' used during "real" execution or is it there for 
> internal testing purposes only, as the comment associated seems to 
> suggest? Is it a problem if It compiled out of the OpenSSL code?

It is used during real execution and you should not compile it out.
SSLv23_method is an important function and is always present. You should not be 
getting linker errors with it.

What config options and platform are you using?

Matt
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to