Log all debug messages through log callback.

This cahnge allow to redirect all output of library
to a log processor.
This commit is contained in:
Milan Broz
2018-10-21 11:25:13 +02:00
parent bce567db46
commit 493e8580d6
4 changed files with 30 additions and 36 deletions

View File

@@ -2738,7 +2738,7 @@ int main(int argc, const char **argv)
if (opt_debug) {
opt_verbose = 1;
crypt_set_debug_level(-1);
crypt_set_debug_level(CRYPT_DEBUG_ALL);
dbg_version_and_cmd(argc, argv);
}