9 fprint(2, "auth/asn1dump [file]\n");
14 main(int argc, char *argv[])
20 fmtinstall('B', mpfmt);
21 fmtinstall('H', encodefmt);
22 fmtinstall('[', encodefmt);
29 if(argc != 0 && argc != 1)
37 if((fd = open(file, OREAD)) < 0)
38 sysfatal("open %s: %r", file);
43 buf = realloc(buf, tot+8192);
45 sysfatal("realloc: %r");
46 if((n = read(fd, buf+tot, 8192)) < 0)