[openssl-dev] [openssl.org #4489] PATCH: fix Windows deprecated strdup in crypto\conf\conf_lib.c

Jeffrey Walton noloader at gmail.com
Tue Mar 29 13:58:12 UTC 2016

On Tue, Mar 29, 2016 at 9:53 AM, Salz, Rich via RT <rt at openssl.org> wrote:
> We use strdup because none of the openssl machinery (error stack, etc) might be set up yet.
> The comment a few lines above says this!


That does not explain why this had not effect on Windows, even after
including "openssl/e_os.h":

    # define strdup _strdup

It cleared the warning at other places, but not conf_lib.c.


More information about the openssl-dev mailing list