summaryrefslogtreecommitdiff
path: root/src/common/crypto.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-03-12 13:02:16 +0000
committerRoger Dingledine <arma@torproject.org>2004-03-12 13:02:16 +0000
commit45a3f6b97c0ccb9e4876ec28880fc6f4c1d412e8 (patch)
treeda414c39c16b07e845b6329d1241ed15b233cfd0 /src/common/crypto.c
parent87797bcde58b0a19f420cb41632f331ca2b9040e (diff)
downloadtor-45a3f6b97c0ccb9e4876ec28880fc6f4c1d412e8.tar.gz
tor-45a3f6b97c0ccb9e4876ec28880fc6f4c1d412e8.zip
more pesky tabs
svn:r1265
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r--src/common/crypto.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index d5a5a9c1e2..4f5a14d6dc 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -1047,14 +1047,14 @@ int crypto_seed_rng()
if (!provider_set) {
if (!CryptAcquireContext(&provider, NULL, NULL, PROV_RSA_FULL, 0)) {
if (GetLastError() != NTE_BAD_KEYSET) {
- log_fn(LOG_ERR,"Can't get CryptoAPI provider [1]");
- return -1;
+ log_fn(LOG_ERR,"Can't get CryptoAPI provider [1]");
+ return -1;
}
/* Yes, we need to try it twice. */
if (!CryptAcquireContext(&provider, NULL, NULL, PROV_RSA_FULL,
- CRYPT_NEWKEYSET)) {
- log_fn(LOG_ERR,"Can't get CryptoAPI provider [2]");
- return -1;
+ CRYPT_NEWKEYSET)) {
+ log_fn(LOG_ERR,"Can't get CryptoAPI provider [2]");
+ return -1;
}
}
provider_set = 1;