Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Don't compile pcgrandom on Windows
- Loading branch information
Showing
with
2 additions
and
1 deletion.
-
+2
−1
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() |
|
|
{ |
|
|