projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2005-03-16 Martin Baulig <martin@ximian.com>
[mono.git]
/
mcs
/
gmcs
/
CryptoConvert.cs
diff --git
a/mcs/gmcs/CryptoConvert.cs
b/mcs/gmcs/CryptoConvert.cs
index 058fe0917304ca04d17f8e20d35e8c2add3270a4..a0becc12bbb73227429334e3dde378a4378dab9e 100644
(file)
--- 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, ...)
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);
// 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, ...)
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);
// DWORD bitlen
int bitLen = ToInt32LE (blob, offset+12);
@@
-356,7
+356,7
@@
namespace Mono.Security.Cryptography {
if (rsa == null)
throw new ArgumentNullException ("rsa");
if (rsa == null)
throw new ArgumentNullException ("rsa");
-
RSAParameters p =
rsa.ExportParameters (includePrivateKey);
+ rsa.ExportParameters (includePrivateKey);
if (includePrivateKey)
return ToCapiPrivateKeyBlob (rsa);
else
if (includePrivateKey)
return ToCapiPrivateKeyBlob (rsa);
else