backport OpenSSL patch function for 1.0.1g
Merge branch '123.06stable'