Check OpenSSL version of python 2.6

You can use ssl.OPENSSL_VERSION in python2.7, but not in 2.6. I tried the following command to see if it could be confirmed in 2.6.

python -c 'import ssl,commands; print commands.getoutput("strings {0} | grep \"^OpenSSL \"".format(commands.getoutput("ldd {0} | grep ssl ".format(ssl._ssl.__file__)).split(" ")[2])) '
OpenSSL 1.0.1e-fips 11 Feb 2013

Recommended Posts

Check OpenSSL version of python 2.6
Check version with python
Python --Check type of values
Error resolution python version check
[Python] Tuple version of prefecture pull-down
pyenv-change the python version of virtualenv
Ideone> Python version: 3.5 (as of August 29, 2017)
Change the Python version of Homebrew
Python nan check
Check the behavior of destructor in Python
python grammar check
How to check the version of Django
Check the existence of the file with python
About the virtual environment of python version 3.7
Django version check
Basics of Python ①
Basics of python ①
How to check opencv version in python
Check the path of the Python imported module
Copy of python
PYTHON2.7 64bit version
Introduction of Python
[OpenLDAP] Version check
Try the python version of emacs-org parser orgparse
[python] Check the elements of the list all, any
Check the date of the flag duty with Python
Use OpenSeesPy regardless of OS or Python version
A note about the python version of python virtualenv
Try the free version of Progate [Python I]
Python version check V outputs standard error output
[Python] Operation of enumerate
List of python modules
Unification of Python environment
Copy of python preferences
Installation of OpenMDAO (version 1.7.1)
Basics of Python scraping basics
[python] behavior of argmax
Usage of Python locals ()
the zen of Python
Installation of Python 3.3 rc1
# 4 [python] Basics of functions
Domain check with Python
Basic knowledge of Python
Sober trivia of python3
Summary of Python arguments
Python version switching (pyenv)
Check Python # type identity
Basics of python: Output
Installation of matplotlib (Python 3.3.2)
Application of Python 3 vars
Various processing of Python
Implementation example of simple LISP processing system (Python version)
Old openssl causes problems in various parts of python
Existence check of external command in Python (like `which`)
Let's use the Python version of the Confluence API module.
Runtime version of Google App Engine / Python Standard Environment
Check the type and version of your Linux distribution
Check the asymptotic nature of the probability distribution in Python
EP 1 Know Which Version of Python You ’re Using.
Version control of Node, Ruby and Python with anyenv
Align the version of chromedriver_binary