(loop): print length of octet string

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7012 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-09-22 02:57:59 +00:00
parent 7ad9d75b17
commit 1fa8e1f54b

View File

@@ -148,6 +148,7 @@ loop (unsigned char *buf, size_t len, int indent)
if (ret)
errx (1, "der_get_octet_string: %s",
com_right (et_list, ret));
printf ("(length %d), ", length);
uc = (unsigned char *)str.data;
for (i = 0; i < 16; ++i)
printf ("%02x", uc[i]);