[PATCH] setup: use libgcrypt for md5

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Nov 8 09:17:00 GMT 2012


On Nov  8 02:03, Yaakov (Cygwin/X) wrote:
> IIUC libmd5-rfc preceded libgcrypt in setup by a few years.  But now
> that we're using libgcrypt for gpg/s-expr, I think it only makes sense
> that we use it as well for MD5 hashing.  (FWIW, this also shaves 2.5KB
> off the stripped, uncompressed binary.)  Patch attached.
> 
> 
> Yaakov
> 

> 2012-11-08  Yaakov Selkowitz  <yselkowitz@...>
> 
> 	* Makefile.am (EXTRA_DIST): Remove libmd5-rfc files.
> 	(setup_SOURCES): Ditto.
> 	* download.cc: Remove unused include.
> 	* csu_util/MD5Sum.cc: Port from libmd5-rfc to libgcrypt.
> 	* csu_util/MD5Sum.h: Ditto.
> 	* libmd5-rfc/*: Remove.

Looks ok to me.  Please apply.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-apps mailing list