[Modify] Polish it

This commit is contained in:
sta 2021-06-28 21:04:07 +09:00
parent bb1684255f
commit 9755a44fc5

View File

@ -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;