strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure first argument is an int when using %.*s to print e.g. chunks
[strongswan.git]
/
src
/
libstrongswan
/
plugins
/
x509
/
x509_pkcs10.c
diff --git
a/src/libstrongswan/plugins/x509/x509_pkcs10.c
b/src/libstrongswan/plugins/x509/x509_pkcs10.c
index
5a9b2d9
..
9fa91fe
100644
(file)
--- a/
src/libstrongswan/plugins/x509/x509_pkcs10.c
+++ b/
src/libstrongswan/plugins/x509/x509_pkcs10.c
@@
-334,7
+334,7
@@
static bool parse_challengePassword(private_x509_pkcs10_t *this, chunk_t blob, i
return FALSE;
}
DBG2(DBG_ASN, "L%d - challengePassword:", level);
- DBG4(DBG_ASN, " '%.*s'", blob.len, blob.ptr);
+ DBG4(DBG_ASN, " '%.*s'",
(int)
blob.len, blob.ptr);
return TRUE;
}