Skip to content
Snippets Groups Projects
Commit 5505e3d7 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix pyopenssl version checking. Fixes #7124

parent cbd8c810
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,7 @@ try:
import OpenSSL.SSL
import OpenSSL.crypto
ver = OpenSSL.__version__
ver_l = [int(i) for i in ver.split('.')]
if ver_l < [0, 12]:
if ver < '0.12':
raise ImportError
from pyasn1.type import univ, constraint, char, namedtype, tag
from pyasn1.codec.der.decoder import decode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment