[Modify] Polish it

master
sta 7 years ago
parent e200bc7441
commit 2486492ae7

@ -835,13 +835,13 @@ namespace WebSocketSharp.Server
var both = byUser && withPort; var both = byUser && withPort;
if (both) { if (both) {
_log.Warn ("A server certificate associated with the port is used."); _log.Warn ("The server certificate associated with the port is used.");
return true; return true;
} }
var either = byUser || withPort; var either = byUser || withPort;
if (!either) { if (!either) {
message = "There is no server certificate for secure connections."; message = "There is no server certificate for secure connection.";
return false; return false;
} }

Loading…
Cancel
Save