Show More
@@ -370,7 +370,7 b' def wrapsocket(sock, keyfile, certfile, ' | |||||
370 |
|
370 | |||
371 | if settings['ciphers']: |
|
371 | if settings['ciphers']: | |
372 | try: |
|
372 | try: | |
373 | sslcontext.set_ciphers(settings['ciphers']) |
|
373 | sslcontext.set_ciphers(pycompat.sysstr(settings['ciphers'])) | |
374 | except ssl.SSLError as e: |
|
374 | except ssl.SSLError as e: | |
375 | raise error.Abort(_('could not set ciphers: %s') % e.args[0], |
|
375 | raise error.Abort(_('could not set ciphers: %s') % e.args[0], | |
376 | hint=_('change cipher string (%s) in config') % |
|
376 | hint=_('change cipher string (%s) in config') % |
General Comments 0
You need to be logged in to leave comments.
Login now