mirror of https://github.com/scrapy/scrapy.git
Roll back the get_openssl_version() type change.
This commit is contained in:
parent
fb52918d23
commit
43ab8bd16a
|
|
@ -47,5 +47,7 @@ def get_temp_key_info(ssl_object):
|
|||
|
||||
|
||||
def get_openssl_version():
|
||||
system_openssl = OpenSSL.SSL.SSLeay_version(OpenSSL.SSL.SSLEAY_VERSION)
|
||||
system_openssl = OpenSSL.SSL.SSLeay_version(
|
||||
OpenSSL.SSL.SSLEAY_VERSION
|
||||
).decode('ascii', errors='replace')
|
||||
return f'{OpenSSL.version.__version__} ({system_openssl})'
|
||||
|
|
|
|||
Loading…
Reference in New Issue