On 20 May 2014 15:17, Ken Goldman <kgold...@us.ibm.com> wrote:
> On 5/20/2014 7:24 AM, Ben Laurie wrote:
>>
>>
>> There is already a strndup replacement: BUF_strndup(). Switching to
>> use that would be better.
>
>
> However
>
> - if that function points to strndup, don't you still have the problem if
> strndup doesn't exist?

It doesn't.

> - if that function is a reimplementation of strndup, don't you lose any
> optimizations that the tool chain strndup might have made?

Yes, you do.

I guess if anyone really cares (its not actually used much), then it
would be possible to work around.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to