aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/srp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/srp.cpp b/src/util/srp.cpp
index b4af58d62..e3812ee54 100644
--- a/src/util/srp.cpp
+++ b/src/util/srp.cpp
@@ -496,6 +496,7 @@ static void calculate_H_AMK(SRP_HashAlgorithm alg, unsigned char *dest, const mp
hash_final(alg, &ctx, dest);
}
+#ifndef WIN32
struct srp_pcgrandom {
unsigned long long int m_state;
@@ -521,7 +522,7 @@ static void srp_pcgrandom_seed(srp_pcgrandom *r, unsigned long long int state,
r->m_state += state;
srp_pcgrandom_next(r);
}
-
+#endif
static SRP_Result fill_buff()
{