mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Latest changes
- A few fixes to code and README
This commit is contained in:
parent
2c6a63be85
commit
67b0dc159d
5 changed files with 25 additions and 7 deletions
|
@ -664,14 +664,14 @@ int verify_prof0(const uint8_t *chlo_data, size_t chlo_data_len,
|
|||
}
|
||||
|
||||
|
||||
void crypto_init(void *seed, int seed_len)
|
||||
void crypto_init(void)
|
||||
{
|
||||
if (crypto_inited)
|
||||
return ;
|
||||
|
||||
//SSL_library_init();
|
||||
CRYPTO_library_init();
|
||||
RAND_seed(seed, seed_len);
|
||||
/* XXX Should we seed? If yes, wherewith? */ // RAND_seed(seed, seed_len);
|
||||
|
||||
#if defined( __x86_64 )||defined( __x86_64__ )
|
||||
make_uint128(&s_prime, 16777216, 315);
|
||||
|
|
|
@ -25,7 +25,7 @@ struct lsquic_str;
|
|||
#endif
|
||||
|
||||
|
||||
void crypto_init();
|
||||
void crypto_init(void);
|
||||
|
||||
/* XXX: why have a wrapper around RAND_bytes? */
|
||||
void rand_bytes(void *data, int len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue