OpenSSL is (famously) an extremely terrible codebase.
It's likely that over the long-term the tech industry will replace it with something else, but for now there's too much infrastructure relying on it.