#undef PROG
#define PROG dgst_main
-#ifndef NOPROTO
void do_fp(unsigned char *buf,BIO *f,int sep);
-#else
-void do_fp();
-#endif
-
int MAIN(int argc, char **argv)
{
unsigned char *buf=NULL;
argc--;
argv++;
- for (i=0; i<argc; i++)
+ while (argc > 0)
{
if ((*argv)[0] != '-') break;
if (strcmp(*argv,"-c") == 0)