From owner-freebsd-questions@FreeBSD.ORG Fri Jun 9 06:00:45 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C639C16A41A for ; Fri, 9 Jun 2006 06:00:45 +0000 (UTC) (envelope-from k.bayliss@qut.edu.au) Received: from mail-router01.qut.edu.au (mail.qut.edu.au [131.181.254.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21E0E43D70 for ; Fri, 9 Jun 2006 06:00:44 +0000 (GMT) (envelope-from k.bayliss@qut.edu.au) Received: from danger.its.dias.qut.edu.au (danger.its.dias.qut.edu.au [131.181.124.135]) by mail-router01.qut.edu.au (MOS 3.7.3a-GA) with ESMTP id ELR71605; Fri, 9 Jun 2006 16:00:43 +1000 (EST) Received: from danger.its.dias.qut.edu.au (localhost [127.0.0.1]) by danger.its.dias.qut.edu.au (8.13.3/8.13.3) with ESMTP id k5960gWd077703 for ; Fri, 9 Jun 2006 16:00:43 +1000 (EST) (envelope-from k.bayliss@qut.edu.au) Received: from localhost (bayliss@localhost) by danger.its.dias.qut.edu.au (8.13.3/8.13.3/Submit) with ESMTP id k5960cXS077700 for ; Fri, 9 Jun 2006 16:00:42 +1000 (EST) (envelope-from k.bayliss@qut.edu.au) X-Authentication-Warning: danger.its.dias.qut.edu.au: bayliss owned process doing -bs Date: Fri, 9 Jun 2006 16:00:38 +1000 (EST) From: Keyran Bayliss X-X-Sender: bayliss@danger.its.dias.qut.edu.au To: freebsd-questions@freebsd.org Message-ID: <20060609145800.I68157@danger.its.dias.qut.edu.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Junkmail-Whitelist: YES (by domain whitelist at mail-router01.qut.edu.au) Subject: Openssl 0.9.8b and libmp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 06:00:45 -0000 Hi, Once I install openssl 0.9.8b I get a bus error from telnet of all things! I'm using 5.4-RELEASE (which may be the problem). Does anyone have it working ? For myself I went trolling through the code and found the following: It seems that from version 0.9.7j to 0.9.8b the code for BN_CTX_init (in crypto/bn/bn_ctx.c) has changed to stop allowing the static declaration of the BN_CTX type. The helpful author even says it's changed: /* Assume the caller obtained the context via BN_CTX_new() and so is * trying to reset it for use. Nothing else makes sense, least of all * binary compatibility from a time when they could declare a static * variable. */ But libraries like libmp declare static BN_CTX variables in many routines (including mult which telnet calls) and many of these routines are void so couldn't return errors even if it was appropriate to use BN_CTX_new as the author suggests. Given all this, I assume I've missed something blindingly obvious but for the life of me I can't see what it is. Anyone have a misery fixer for me ? K. PS. It seems increasingly like openssl did not have FreeBSD in mind as even the Configure script stopped having "FreeBSD" as an option. ---- Keyran Bayliss k.bayliss@qut.edu.au +61 7 3864 1704 0414 645 365 www.its.qut.edu.au/network/ CRICOS No 00213J ----