[Modify] Polish it
This commit is contained in:
parent
26163779ea
commit
f4d88963f8
@ -193,7 +193,8 @@ namespace WebSocketSharp.Net
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static X509Certificate2 getCertificate (
|
private static X509Certificate2 getCertificate (
|
||||||
int port, string certificateFolderPath, X509Certificate2 defaultCertificate)
|
int port, string certificateFolderPath, X509Certificate2 defaultCertificate
|
||||||
|
)
|
||||||
{
|
{
|
||||||
if (certificateFolderPath == null || certificateFolderPath.Length == 0)
|
if (certificateFolderPath == null || certificateFolderPath.Length == 0)
|
||||||
certificateFolderPath = _defaultCertFolderPath;
|
certificateFolderPath = _defaultCertFolderPath;
|
||||||
|
Loading…
Reference in New Issue
Block a user