Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marvin Scholz
libaacs
Commits
df5c3f68
Commit
df5c3f68
authored
Dec 11, 2013
by
npzacs
Browse files
Use more portable printf format
parent
fa1a705c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libaacs/mkb.c
View file @
df5c3f68
...
...
@@ -221,7 +221,9 @@ static int _cert_is_revoked(const uint8_t *rl, size_t rl_size, const uint8_t *ce
uint16_t
len
=
MKINT_BE16
(
rl
);
uint64_t
id
=
MKINT_BE48
(
rl
+
2
);
if
(
cert_id
>=
id
&&
cert_id
<=
id
+
len
)
{
DEBUG
(
DBG_MKB
,
"Certificate %12llx has been revoked
\n
"
,
(
unsigned
long
long
)
cert_id
);
char
str
[
16
];
print_hex
(
str
,
rl
+
2
,
6
);
DEBUG
(
DBG_MKB
,
"Certificate %s has been revoked
\n
"
,
str
);
return
1
;
}
rl
+=
8
;
...
...
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