Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2003 18:46:11 -0500
From:      Mikhail Teterin <mi+mx@aldan.algebra.com>
To:        Max Khon <fjoe@FreeBSD.ORG>
Cc:        "Jacques A. Vidrine" <nectar@FreeBSD.ORG>, Mark Murray <markm@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
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 ...
Message-ID:  <200301291846.11075.mi%2Bmx@aldan.algebra.com>
In-Reply-To: <20030129062807.A56346@FreeBSD.org>
References:  <200301282258.h0SMwFG1081901@repoman.freebsd.org> <200301290909.22187.mi%2Bmx@aldan.algebra.com> <20030129062807.A56346@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301291846.11075.mi%2Bmx>