summaryrefslogtreecommitdiff
path: root/random/rndw32ce.c
diff options
context:
space:
mode:
Diffstat (limited to 'random/rndw32ce.c')
-rw-r--r--random/rndw32ce.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/random/rndw32ce.c b/random/rndw32ce.c
index 6cd5d57e..b485eef2 100644
--- a/random/rndw32ce.c
+++ b/random/rndw32ce.c
@@ -82,7 +82,7 @@ _gcry_rndw32ce_gather_random (void (*add)(const void*, size_t,
if (length+8 < buflen)
buflen = length+8; /* Return a bit more than requested. */
- if (!CryptAcquireContext (&prov, NULL, NULL, PROV_RSA_FULL,
+ if (!CryptAcquireContext (&prov, NULL, NULL, PROV_RSA_FULL,
(CRYPT_VERIFYCONTEXT|CRYPT_SILENT)) )
log_debug ("CryptAcquireContext failed: rc=%d\n", (int)GetLastError ());
else
@@ -184,16 +184,16 @@ _gcry_rndw32ce_gather_random_fast (void (*add)(const void*, size_t,
(*add) ( &userTime, sizeof (userTime), origin );
}
-
+
/* In case the OEM provides a high precision timer get this. If
none is available the default implementation returns the
GetTickCount. */
{
LARGE_INTEGER performanceCount;
-
+
if (QueryPerformanceCounter (&performanceCount))
(*add) (&performanceCount, sizeof (performanceCount), origin);
}
-
+
}