[sr-dev] git:5.7:ff0e0d7a: tls: fix build for openssl < 1.1.1