[Modify] Polish it
This commit is contained in:
parent
bb1684255f
commit
9755a44fc5
@ -824,9 +824,9 @@ namespace WebSocketSharp.Server
|
|||||||
var path = _listener.CertificateFolderPath;
|
var path = _listener.CertificateFolderPath;
|
||||||
var withPort = EndPointListener.CertificateExists (_port, path);
|
var withPort = EndPointListener.CertificateExists (_port, path);
|
||||||
|
|
||||||
var exists = byUser || withPort;
|
var either = byUser || withPort;
|
||||||
|
|
||||||
if (!exists) {
|
if (!either) {
|
||||||
message = "There is no server certificate for secure connection.";
|
message = "There is no server certificate for secure connection.";
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user