parent
ea7a19c6a1
commit
695822e45d
3
srp.c
3
srp.c
|
@ -489,6 +489,7 @@ static void calculate_H_AMK(SRP_HashAlgorithm alg, unsigned char *dest, const mp
|
||||||
hash_final(alg, &ctx, dest);
|
hash_final(alg, &ctx, dest);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef WIN32
|
||||||
|
|
||||||
struct srp_pcgrandom {
|
struct srp_pcgrandom {
|
||||||
unsigned long long int m_state;
|
unsigned long long int m_state;
|
||||||
|
@ -514,7 +515,7 @@ static void srp_pcgrandom_seed(srp_pcgrandom *r, unsigned long long int state,
|
||||||
r->m_state += state;
|
r->m_state += state;
|
||||||
srp_pcgrandom_next(r);
|
srp_pcgrandom_next(r);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static SRP_Result fill_buff()
|
static SRP_Result fill_buff()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue