Fix build on 12-stable when using OpenSSL from port.
PR: 232169 Submitted by: Michael Grimm <trashcan@ellael.org>