Displaying 2 results from an estimated 2 matches for "check_openssl_version".
2001 Sep 27
1
Purpose of check_openssl_version?
Hi,
Debian have #defined out this function in entropy.c for some time
(since it causes things to break too often, given I don't maintain
openssl). Does it serve a useful function security-wise?
Thanks,
Matthew
--
"At least you know where you are with Microsoft."
"True. I just wish I'd brought a paddle."
http://www.debian.org
2001 Jun 07
2
Patch to enable multiple possible sources of entropy
...uot;);
-
- if (!get_random_bytes(buf, sizeof(buf))) {
- if (!RAND_status())
- fatal("Entropy collection failed and entropy exhausted");
- } else {
- RAND_add(buf, sizeof(buf), sizeof(buf));
- }
-
- memset(buf, '\0', sizeof(buf));
- }
-
- void
- init_rng(void)
- {
- check_openssl_version();
- }
-
- #else /* defined(USE_PRNGD) || defined(RANDOM_POOL) */
/*
* FIXME: proper entropy estimations. All current values are guesses
* FIXME: (ATL) do estimates at compile time?
--- 208,215 ----
return(1);
}
#endif /* RANDOM_POOL */
+ #ifdef USE_BUILTIN_ENTROPY
/*
* F...