This post is about the 'openssl' tool that is provided with the OpenSSL library not supporting IPv6 - not OpenSSL itself! As far as I'm aware, IPv6 support has been provided by the library for a while.
While the library isn't what's at issue here, your assumptions are way off. IPv4-capable code doesn't magically become IPv6-capable code by virtue of running on an IPv6-capable OS. Functions like these require some tweaking to be made to use new IPv6-capable structs as well as getaddrinfo. The switch is not invisible to anyone making socket API calls.