Add corrected upstream patch, that fixing build both with LibreSSL and OpenSSL >= 1.1.0. PR: 198533 Submitted by: Bernard Spil <spil.oss@gmail.com>