mirror of
https://github.com/2dust/v2rayN.git
synced 2025-11-05 06:52:52 +00:00
Fix (#8244)
This commit is contained in:
parent
091b79f7cf
commit
1aee3950f4
1 changed files with 6 additions and 3 deletions
|
|
@ -268,10 +268,13 @@ public partial class CoreConfigSingboxService
|
||||||
.Select(s => s + "\n-----END CERTIFICATE-----")
|
.Select(s => s + "\n-----END CERTIFICATE-----")
|
||||||
.Select(s => s.Replace("\r\n", "\n"))
|
.Select(s => s.Replace("\r\n", "\n"))
|
||||||
.ToList() ?? new();
|
.ToList() ?? new();
|
||||||
tls.certificate = certs.Count > 0 ? certs : null;
|
if (certs.Count > 0)
|
||||||
tls.insecure = false;
|
{
|
||||||
|
tls.certificate = certs;
|
||||||
|
tls.insecure = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else if (node.StreamSecurity == Global.StreamSecurityReality)
|
||||||
{
|
{
|
||||||
tls.reality = new Reality4Sbox()
|
tls.reality = new Reality4Sbox()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue