From owner-cvs-all Wed Jan 29 15:46: 3 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FF7937B401; Wed, 29 Jan 2003 15:46:00 -0800 (PST) Received: from corbulon.video-collage.com (corbulon.video-collage.com [64.35.99.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3826D43F3F; Wed, 29 Jan 2003 15:45:59 -0800 (PST) (envelope-from mi+mx@aldan.algebra.com) Received: from mi.us.murex.com (250-217.customer.cloud9.net [168.100.250.217]) by corbulon.video-collage.com (8.12.6/8.12.6) with ESMTP id h0TNjsMZ027030 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL); Wed, 29 Jan 2003 18:45:57 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) Content-Type: text/plain; charset="iso-8859-1" From: Mikhail Teterin Organization: Virtual Estates, Inc. To: Max Khon Subject: Re: cvs commit: src/secure/lib/libcrypto Makefile Makefile.inc des_crypt.3 opensslconf-alpha.h opensslconf-i386.h opensslconf-ia64.h opensslconf-powerpc.h opensslconf-sparc64.h src/secure/lib/libcrypto/man ASN1_OBJECT_new.3 ASN1_STRING_length.3 ... Date: Wed, 29 Jan 2003 18:46:11 -0500 User-Agent: KMail/1.4.3 Cc: "Jacques A. Vidrine" , Mark Murray , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200301282258.h0SMwFG1081901@repoman.freebsd.org> <200301290909.22187.mi+mx@aldan.algebra.com> <20030129062807.A56346@FreeBSD.org> In-Reply-To: <20030129062807.A56346@FreeBSD.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200301291846.11075.mi+mx@aldan.algebra.com> X-Scanned-By: MIMEDefang 2.21 (www . roaringpenguin . com / mimedefang) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wednesday 29 January 2003 09:28 am, Max Khon wrote: = > A related topic. I thought, it was agreed to, at some point, remove = > our implementations of things, OpenSSL provides, in favor of the = > OpenSSL's replacements -- may be, after merging in the differences, = > or some such. I'm talking primarily of the message digest library = > (-lmd), which is (almost) API compatible with -lcrypto (MD5Final vs. = > MD5_Final). = OpenSSL lacks some functions our -lmd has: MDX_File, MDX_FileChunk and = MDX_End. = I have a patch that removes -lmd from base system (it has some raw = edges and is a bit outdated but its does most of the job). We can leave -lmd but remove all the redundat functions from it. With the weak-symbol magic it can remain ABI compatible (MD5Final pointing to -lcrypto's MD5_Final, for example). The headers mdX.h will simply include openssl/mdX.h and provide compatibility defines. As far as -lcrypto being export controlled, my impression was, that it is only -lssl, that is, no? In any case, an export-control-compliant -lmd can still be made as a subset of -lcrypto with what's now in -lmd. This will take some easy but highly frustrating work with a few buildworld breakages :-) -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message