Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lib for MD5?



On Tuesday, February 24, 2004, at 11:23 PM, email@hidden wrote:

Hello, all ...

Hey, I see md5.h in /usr/include/sys ... but I can't seem to find the library to link with (i'm trying to use MD5File()). This is what I tried:
[snip]
... a few quick nm's didn't seem to find MD5 stuff in anything but /usr/lib/libcrypto,dylib. What am I missing?

You are missing the realization that you should not be using headers from /usr/include/sys in user-level code (with a few exceptions that are *very* system-specific). If the identifiers are declared in a <sys/...> header, they will generally be declared and instantiated in the kernel, and your code can't user them.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | Men are from Earth.
| Women are from Earth.
| Deal with it.
*--------------------------------------*-------------------------------*
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.


References: 
 >lib for MD5? (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.