projects
/
BearSSL
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added seeder API. Also overhauled compile-time detection of features.
[BearSSL]
/
tools
/
sslio.c
diff --git
a/tools/sslio.c
b/tools/sslio.c
index
3a8a6f3
..
7fc1d53
100644
(file)
--- a/
tools/sslio.c
+++ b/
tools/sslio.c
@@
-266,7
+266,11
@@
run_ssl_engine(br_ssl_engine_context *cc, unsigned long fd, unsigned flags)
* Print algorithm details.
*/
if (verbose) {
* Print algorithm details.
*/
if (verbose) {
+ const char *rngname;
+
fprintf(stderr, "Algorithms:\n");
fprintf(stderr, "Algorithms:\n");
+ br_prng_seeder_system(&rngname);
+ fprintf(stderr, " RNG: %s\n", rngname);
if (cc->iaes_cbcenc != 0) {
fprintf(stderr, " AES/CBC (enc): %s\n",
get_algo_name(cc->iaes_cbcenc, 0));
if (cc->iaes_cbcenc != 0) {
fprintf(stderr, " AES/CBC (enc): %s\n",
get_algo_name(cc->iaes_cbcenc, 0));