Date: Mon, 24 Feb 2003 22:03:58 -0500 From: Craig Rodrigues <rodrigc@attbi.com> To: freebsd-current@freebsd.org Subject: Re: OpenSSL should define OPENSSL_THREADS? Message-ID: <20030225030358.GA4573@attbi.com> In-Reply-To: <20030225025821.GA4399@attbi.com> References: <20030225025821.GA4399@attbi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 24, 2003 at 09:58:21PM -0500, Craig Rodrigues wrote: > Hi, > > I ran a cvsup of -CURRENT a few days ago. > > I have some code which assumes that OPENSSL_THREADS is defined if > the OpenSSL version is greater than 0.9.7: I meant to say greater than or equal to 0.9.7. :) > > #define OPENSSL_THREAD_DEFINES > #include <openssl/opensslconf.h> > #include <openssl/opensslv.h> > #if OPENSSL_VERSION_NUMBER < 0x0090700fL > # if !defined(THREADS) > # error "Thread support not enabled" > # endif > #else > # if !defined(OPENSSL_THREADS) > # error "Thread support not enabled" > # endif > #endif > > > Should the OpenSSL in FreeBSD be defining OPENSSL_THREADS? > > Thanks. > -- > Craig Rodrigues > http://home.attbi.com/~rodrigc > rodrigc@attbi.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- Craig Rodrigues http://home.attbi.com/~rodrigc rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030225030358.GA4573>