From owner-freebsd-hackers Mon Apr 2 3:47:28 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.newst.irs.ru (newst.irs.ru [212.164.94.1]) by hub.freebsd.org (Postfix) with ESMTP id A952C37B71D for ; Mon, 2 Apr 2001 03:47:24 -0700 (PDT) (envelope-from fjoe@newst.net) Received: from lark.nsk.bsgdesign.com (lark.nsk.bsgdesign.com [192.168.3.21]) by mail.newst.irs.ru (8.11.1/8.11.0) with ESMTP id f32Al3h03426; Mon, 2 Apr 2001 17:47:03 +0700 (NOVST) (envelope-from fjoe@newst.net) Date: Mon, 2 Apr 2001 17:47:03 +0700 (NOVST) From: Max Khon X-Sender: fjoe@localhost To: Peter Pentchev Cc: hackers@freebsd.org Subject: Re: openssl/mdX.h and mdX.h name clashes In-Reply-To: <20010402130807.L462@ringworld.oblivion.bg> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi, there! On Mon, 2 Apr 2001, Peter Pentchev wrote: > > /usr/include/mdX.h and /usr/include/openssl/mdX.h > > both declare structures and functions with the same name > > (structures are a bit different) and this is a bit troublesome for > > applications that want to link with both -lmd and -lcrypto > > > > can we consider merging our mdX.h enhancements (MD5End, MD5File) to > > openssl and switching to openssl/mdX.h entirely? > > I believe that this is the way things are supposed to happen; this > has been discussed on -arch recently, although somebody stated that > OpenSSL already has all the functionality. I wasn't quite able to > find analogous functions in the source; and a single function, > without setting up a BIO object and stuff, when all you need is > the MD5 hash of a file by name, is definitely something useful. Thanks for the pointer. I'll go read archives. I have already noticed that function names are different (underscores) but the problem remains for compilation time. /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message