On 6/9/13 6:55 PM, Michael Rash wrote:
> On Jun 09, 2013, Blair Zajac wrote:
>
>> Hello,
>
> Hello Blair,
>
>> FYI, these warnings appear on Mac OS X 10.5, not including the BYTEORDER
>> caused warnings I mention in another thread:
>>
>> fko_hmac.c: In function 'fko_verify_hmac':
>> fko_hmac.c:75: warning: implicit declaration of function 'strndup'
>> fko_hmac.c:77: warning: assignment makes pointer from integer without a cast
>> fko_hmac.c:85: warning: assignment makes pointer from integer without a cast
>
> I wonder if the following patch would fix this?  Damien noticed that on
> Windows systems strndup() wasn't there either, so he added an
> implementation of it to lib/fko_util.c.  For any other systems where
> strndup() doesn't exist, this patch should allow the local
> implementation of it to apply I think:

This compiles cleanly.  When using fwknop myself, I don't run into the 
missing symbol at runtime, I'm guessing because it's in a shared 
library, so I cannot definitely say if this works, but it should.

Blair

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Fwknop-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fwknop-discuss

Reply via email to