Use OpenSSL_malloc(...) to allocate array as not all compilers support our code otherwise. (#450)
Use OpenSSL_malloc(...) to allocate array as not all compilers support our code otherwise. (#450)

Motivation:

3923840df8edef9b836fdfe9a59e481550e0576b introduced code that allocated an array like `const char*[num]` but num is not know at compile time. This does not work on all compilers, so we must use OpenSSL_malloc(...) / OpenSSL_free(...)

Modifications:

Adjust code to use OpenSSL_malloc / OpenSSL_free

Result:

Be able to build on windows as well again.
netty/netty-tcnative,netty/netty-tcnative,netty/netty-tcnative,netty/netty-tcnative