X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fgmcs%2FCryptoConvert.cs;h=a0becc12bbb73227429334e3dde378a4378dab9e;hb=74c2eca79fe94d3b29d339703689fd2f2787e792;hp=058fe0917304ca04d17f8e20d35e8c2add3270a4;hpb=7ee363eb213b9fc14ba314e3ad8d3fd0bab0b2c1;p=mono.git diff --git a/mcs/gmcs/CryptoConvert.cs b/mcs/gmcs/CryptoConvert.cs old mode 100755 new mode 100644 index 058fe091730..a0becc12bbb --- a/mcs/gmcs/CryptoConvert.cs +++ b/mcs/gmcs/CryptoConvert.cs @@ -82,7 +82,7 @@ namespace Mono.Security.Cryptography { throw new CryptographicException ("Invalid blob header"); // ALGID (CALG_RSA_SIGN, CALG_RSA_KEYX, ...) - int algId = ToInt32LE (blob, offset+4); + // int algId = ToInt32LE (blob, offset+4); // DWORD bitlen int bitLen = ToInt32LE (blob, offset+12); @@ -245,7 +245,7 @@ namespace Mono.Security.Cryptography { throw new CryptographicException ("Invalid blob header"); // ALGID (CALG_RSA_SIGN, CALG_RSA_KEYX, ...) - int algId = ToInt32LE (blob, offset+4); + // int algId = ToInt32LE (blob, offset+4); // DWORD bitlen int bitLen = ToInt32LE (blob, offset+12); @@ -356,7 +356,7 @@ namespace Mono.Security.Cryptography { if (rsa == null) throw new ArgumentNullException ("rsa"); - RSAParameters p = rsa.ExportParameters (includePrivateKey); + rsa.ExportParameters (includePrivateKey); if (includePrivateKey) return ToCapiPrivateKeyBlob (rsa); else