[Modify] Polish it

This commit is contained in:
sta 2021-08-25 19:40:05 +09:00
parent f1306eb140
commit fa4d12297d

View File

@ -1306,7 +1306,8 @@ namespace WebSocketSharp.Server
ServerSslConfiguration sslConfig = null;
if (_secure) {
sslConfig = new ServerSslConfiguration (getSslConfiguration ());
var src = getSslConfiguration ();
sslConfig = new ServerSslConfiguration (src);
if (sslConfig.ServerCertificate == null) {
var msg = "There is no server certificate for secure connection.";