[Modify] Polish it
This commit is contained in:
parent
a64125b4a3
commit
99034c14d2
@ -191,8 +191,8 @@ namespace WebSocketSharp.Net
|
|||||||
{
|
{
|
||||||
var rsa = new RSACryptoServiceProvider ();
|
var rsa = new RSACryptoServiceProvider ();
|
||||||
|
|
||||||
var pvk = File.ReadAllBytes (path);
|
var key = File.ReadAllBytes (path);
|
||||||
rsa.ImportCspBlob (pvk);
|
rsa.ImportCspBlob (key);
|
||||||
|
|
||||||
return rsa;
|
return rsa;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user