> -----Original Message-----
> From: owner-openssl-us...@openssl.org [mailto:owner-openssl-
> us...@openssl.org] On Behalf Of Ken Goldman
> Sent: Tuesday, 20 May, 2014 10:16
> To: openssl-users@openssl.org
> Subject: Re: test/heartbleed_test.c
> 
> It's logical to me.
> 
> If the tool chain has a strndup, use it.  If it doesn't, here it is.
> 
> There won't be a namespace clash if the function doesn't exist.

Then perhaps you want to read the C standard's Rationale. There's a reason why 
some names are reserved to the library or implementation, and not all platforms 
behave the way you expect them to.

This is one reason why I suggested my previous comment was quixotic. Adherence 
to the C standard, and to good practices with C code, don't appear to be high 
on the list for the typical OpenSSL user. In general, trying to get C 
programmers to actually follow the specification is a waste of time. So do what 
you like.

-- 
Michael Wojcik
Technology Specialist, Micro Focus




This message has been scanned for malware by Websense. www.websense.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to