[Modify] Polish it

This commit is contained in:
sta 2020-10-21 19:36:09 +09:00
parent fdd52f3d4e
commit a64125b4a3

View File

@ -187,11 +187,11 @@ namespace WebSocketSharp.Net
prefixes.Add (prefix); prefixes.Add (prefix);
} }
private static RSACryptoServiceProvider createRSAFromFile (string filename) private static RSACryptoServiceProvider createRSAFromFile (string path)
{ {
var rsa = new RSACryptoServiceProvider (); var rsa = new RSACryptoServiceProvider ();
var pvk = File.ReadAllBytes (filename); var pvk = File.ReadAllBytes (path);
rsa.ImportCspBlob (pvk); rsa.ImportCspBlob (pvk);
return rsa; return rsa;