Lines 506-511
Link Here
|
506 |
value |= SSL.SSL_PROTOCOL_SSLV3; |
506 |
value |= SSL.SSL_PROTOCOL_SSLV3; |
507 |
} else if ("TLSv1".equalsIgnoreCase(protocol)) { |
507 |
} else if ("TLSv1".equalsIgnoreCase(protocol)) { |
508 |
value |= SSL.SSL_PROTOCOL_TLSV1; |
508 |
value |= SSL.SSL_PROTOCOL_TLSV1; |
|
|
509 |
} else if ("TLSv1.1".equalsIgnoreCase(protocol)) { |
510 |
value |= SSL.SSL_PROTOCOL_TLS11; |
511 |
} else if ("TLSv1.2".equalsIgnoreCase(protocol)) { |
512 |
value |= SSL.SSL_PROTOCOL_TLS12; |
509 |
} else if ("all".equalsIgnoreCase(protocol)) { |
513 |
} else if ("all".equalsIgnoreCase(protocol)) { |
510 |
value |= SSL.SSL_PROTOCOL_ALL; |
514 |
value |= SSL.SSL_PROTOCOL_ALL; |
511 |
} else { |
515 |
} else { |