With this option gnutls-cli prints the build-time configuration of the
library, retrieved through gnutls_get_library_config.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
exit(1);
}
+ if (HAVE_OPT(LIST_CONFIG)) {
+ const gnutls_library_config_st *p;
+
+ for (p = gnutls_get_library_config(); p->name; p++) {
+ log_msg(stdout, "%s: %s\n", p->name, p->value);
+ }
+ exit(0);
+ }
+
if (HAVE_OPT(BENCHMARK_CIPHERS)) {
benchmark_cipher(OPT_VALUE_DEBUG);
exit(0);
"long-option": "fips140-mode",
"desc": "Reports the status of the FIPS140-2 mode in gnutls library"
},
+ {
+ "detail": "",
+ "long-option": "list-config",
+ "desc": "Reports the configuration of the library"
+ },
{
"desc": "Redirect informational messages to a specific file.",
"arg-type": "string",
}
]
}
-]
\ No newline at end of file
+]