On 13/11/17 04:22, Simon Ruderich wrote: > On Sun, Nov 12, 2017 at 12:18:36AM +0800, Antonio Quartulli wrote: >> --- a/src/openvpn/crypto.h >> +++ b/src/openvpn/crypto.h >> @@ -459,6 +459,9 @@ void prng_bytes(uint8_t *output, int len); >> >> void prng_uninit(void); >> >> +/* an analogue to the random() function, but use prng_bytes */ >> +long int get_random(void); >> + >> void test_crypto(struct crypto_options *co, struct frame *f); >> >> >> @@ -514,5 +517,10 @@ key_ctx_bi_defined(const struct key_ctx_bi *key) >> } >> >> >> +#else >> + >> +/* use plain random is no crypto support is compiled */ > > Minor typo, "is" -> "if" >
Thanks for spotting this! I hope the committer can fix this on the fly. Cheers, -- Antonio Quartulli
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel