disable SSLv2_method for ubuntu
This commit is contained in:
parent
8948a97151
commit
0834224070
3 changed files with 13 additions and 9 deletions
|
|
@ -258,7 +258,10 @@ when defined(ssl):
|
|||
of protSSLv23:
|
||||
newCTX = SSL_CTX_new(SSLv23_method()) # SSlv2,3 and TLS1 support.
|
||||
of protSSLv2:
|
||||
newCTX = SSL_CTX_new(SSLv2_method())
|
||||
when not defined(linux):
|
||||
newCTX = SSL_CTX_new(SSLv2_method())
|
||||
else:
|
||||
SSLError()
|
||||
of protSSLv3:
|
||||
newCTX = SSL_CTX_new(SSLv3_method())
|
||||
of protTLSv1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue