blob: 9cc2a5f9c721b123c49bebe65d244d71805febba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import re
import subprocess
def check_openssl(output_version):
try:
subprocess.check_output(['which', 'openssl'])
except subprocess.CalledProcessError:
return False
return re.search('--openssl', output_version)
|