Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Jean-Baptiste Kempf
libaacs
Commits
bcd6e023
Commit
bcd6e023
authored
Jun 23, 2020
by
npzacs
Committed by
hpi1
Jul 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log config summary
parent
c9c8ad90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
src/file/keydbcfg.c
src/file/keydbcfg.c
+21
-0
No files found.
src/file/keydbcfg.c
View file @
bcd6e023
...
...
@@ -646,6 +646,25 @@ static int _parse_embedded(config_file *cf)
return
result
;
}
static
void
_config_summary
(
config_file
*
cf
)
{
int
n
;
dk_list
*
dkl
=
cf
->
dkl
;
pk_list
*
pkl
=
cf
->
pkl
;
cert_list
*
hcl
=
cf
->
host_cert_list
;
title_entry_list
*
tel
=
cf
->
list
;
BD_DEBUG
(
DBG_AACS
,
"Config summary:
\n
"
);
for
(
n
=
0
;
dkl
;
dkl
=
dkl
->
next
,
n
++
)
;
BD_DEBUG
(
DBG_AACS
,
" %d Device keys
\n
"
,
n
);
for
(
n
=
0
;
pkl
;
pkl
=
pkl
->
next
,
n
++
)
;
BD_DEBUG
(
DBG_AACS
,
" %d Processing keys
\n
"
,
n
);
for
(
n
=
0
;
hcl
;
hcl
=
hcl
->
next
,
n
++
)
;
BD_DEBUG
(
DBG_AACS
,
" %d Host certificates
\n
"
,
n
);
for
(
n
=
0
;
tel
;
tel
=
tel
->
next
,
n
++
)
;
BD_DEBUG
(
DBG_AACS
,
" %d Disc entries
\n
"
,
n
);
}
config_file
*
keydbcfg_config_load
(
const
char
*
configfile_path
)
{
int
config_ok
=
0
;
...
...
@@ -682,6 +701,8 @@ config_file *keydbcfg_config_load(const char *configfile_path)
return
NULL
;
}
_config_summary
(
cf
);
return
cf
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment