(hx509_parse_name): fix length argument to printf string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17279 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -359,7 +359,7 @@ hx509_parse_name(const char *str, hx509_name *name)
|
||||
|
||||
oid = stringtooid(p, q - p);
|
||||
if (oid == NULL) {
|
||||
_hx509_abort("unknown type: %.*s", (int)(q - p) - 1, p);
|
||||
_hx509_abort("unknown type: %.*s", (int)(q - p), p);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user