[Modify] Polish it
This commit is contained in:
parent
f1306eb140
commit
fa4d12297d
@ -1306,7 +1306,8 @@ namespace WebSocketSharp.Server
|
|||||||
ServerSslConfiguration sslConfig = null;
|
ServerSslConfiguration sslConfig = null;
|
||||||
|
|
||||||
if (_secure) {
|
if (_secure) {
|
||||||
sslConfig = new ServerSslConfiguration (getSslConfiguration ());
|
var src = getSslConfiguration ();
|
||||||
|
sslConfig = new ServerSslConfiguration (src);
|
||||||
|
|
||||||
if (sslConfig.ServerCertificate == null) {
|
if (sslConfig.ServerCertificate == null) {
|
||||||
var msg = "There is no server certificate for secure connection.";
|
var msg = "There is no server certificate for secure connection.";
|
||||||
|
Loading…
Reference in New Issue
Block a user