1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-01-07 14:20:29 +00:00

SSL test server: Use port 6790, like "test server #2"

Don't use the "standard" IRC SSL port 6697, as this easily collides with
real (ng)IRCd instances running on the same machine.

And by reusing port 6790, which is already used by the "test server #2",
we don't need any other port than the test suite already uses.
This commit is contained in:
Alexander Barton 2020-05-06 23:55:23 +02:00
parent db88b92c8a
commit 21f33e5911
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# ngIRCd test suite # ngIRCd test suite
# Server connect test # Server connect test
spawn openssl s_client -quiet -connect 127.0.0.1:6697 spawn openssl s_client -quiet -connect 127.0.0.1:6790
expect { expect {
timeout { exit 1 } timeout { exit 1 }
"*CN = my.first.domain.tld" "*CN = my.first.domain.tld"

View File

@ -1,7 +1,7 @@
# ngIRCd test suite # ngIRCd test suite
# Server connect test # Server connect test
spawn openssl s_client -quiet -connect 127.0.0.1:6697 spawn openssl s_client -quiet -connect 127.0.0.1:6790
expect { expect {
timeout { exit 1 } timeout { exit 1 }
"*CN = my.second.domain.tld" "*CN = my.second.domain.tld"

View File

@ -13,7 +13,7 @@
CertFile = ssl/cert.pem CertFile = ssl/cert.pem
KeyFile = ssl/key.pem KeyFile = ssl/key.pem
DHFile = ssl/dhparams.pem DHFile = ssl/dhparams.pem
Ports = 6697 Ports = 6790
[Limits] [Limits]