[sr-dev] git:5.7:90ea4120: tls: fix compilation with OpenSSL <= 1.1.1