On Fri, Jan 07, 2000 at 07:34:52PM -0800, Kris Kennaway wrote:

> I'm in the process of integrating OpenSSL into FreeBSD 4.0-CURRENT, and
> have run into a bunch of undefined symbols when libssl is compiled as a
> shared library when NO_RSA is defined: there are several SSL2 functions
> which are referenced, but not defined. The following patch seems to take
> care of them.

Thanks!

> This patch also:
>   * adds -DNO_SSL2 conditional on the no-rsa config option, since SSL2
> requires RSA.
>   * Changes several #ifndef NO_RSA to #ifndef NO_SSL2 which is more
> appropriate (the code should not be compiled if we just specify no-ssl2
> and keep rsa).

NO_SSL2 currently is an option to the apps, not to the SSL library. I
think it makes sense to use NO_SSL2 there. In that case, NO_SSL2
should be #defined in ssl.h like it currently is in s_client.c and
others.

> The only thing which seems to be (still) broken is the rsatest target,
> since with NO_RSA defined the crypto/rsa directory never gets recursed
> into, hence never creates the links in test/. I couldn't think of an easy
> way to fix this so I just left it alone: since FreeBSD doesn't use the
> openssl build infrastructure this doesnt affect my purposes.

The SSL tests fail anyway when RSA is not available. I don't see that
as a very urgent problem.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to