From owner-freebsd-current Mon Feb 24 18:57:22 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E6CC37B401 for ; Mon, 24 Feb 2003 18:57:21 -0800 (PST) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [24.61.43.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77C0043F3F for ; Mon, 24 Feb 2003 18:57:20 -0800 (PST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: from h00609772adf0.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by h00609772adf0.ne.client2.attbi.com (8.12.7/8.12.7) with ESMTP id h1P2wMUE004510 for ; Mon, 24 Feb 2003 21:58:22 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost) by h00609772adf0.ne.client2.attbi.com (8.12.7/8.12.7/Submit) id h1P2wL0l004509 for freebsd-current@freebsd.org; Mon, 24 Feb 2003 21:58:21 -0500 (EST) Date: Mon, 24 Feb 2003 21:58:21 -0500 From: Craig Rodrigues To: freebsd-current@freebsd.org Subject: OpenSSL should define OPENSSL_THREADS? Message-ID: <20030225025821.GA4399@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: #define OPENSSL_THREAD_DEFINES #include #include #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