Which md5.h? Which libraries?

Rick Stevens rstevens at internap.com
Tue Jul 3 20:32:02 UTC 2007


On Tue, 2007-07-03 at 16:20 -0400, Robert Cahn wrote:
> I find the following files on my F7 system:
> 
> /usr/include/pi-md5.h
> /usr/include/neon/ne_md5.h
> /usr/include/c++/4.1.2/gnu/javax/crypto/jce/mac/HMacMD5Spi.h
> /usr/include/c++/4.1.2/gnu/java/security/hash/MD5.h
> /usr/include/openssl/md5.h
> /usr/include/pppd/md5.h
> /usr/include/sasl/md5.h
> /usr/include/php/ext/standard/md5.h
> 
> I am writing a small GTK+ program.  I need to add an MD5 computation.
> My question is,
> "Which MD5 include file goes with which library?"  There are too many
> libraries to plow through 
> one directory at a time.

I'd use /usr/include/sasl/md5.h.  Or "#include <sasl/md5.h>".  "man MD5"
should show you.

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens at internap.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-             To iterate is human, to recurse, divine.               -
----------------------------------------------------------------------




More information about the users mailing list