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