We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3a5f6c commit 53bbf6cCopy full SHA for 53bbf6c
src/js/helpers/stunnel.js
@@ -7,13 +7,10 @@ export default (form, output) => {
7
'\n';
8
9
if (minver("5.50", form.serverVersion)) {
10
- if (output.protocols[0] === 'TLSv1.2') {
11
conf +=
12
- 'sslVersionMin = TLSv1.2\n';
13
- }
14
- else if (output.protocols[0] === 'TLSv1.3') {
+ 'sslVersionMin = '+output.protocols[0]+'\n';
+ if (output.protocols[0] === 'TLSv1.3') {
15
16
- 'sslVersionMin = TLSv1.3\n'+
17
'ciphersuites = '+output.cipherSuites.join(':')+'\n';
18
}
19
0 commit comments