X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fdgst.c;h=1b56d6ef44167bbe1ac3c2a4f00bab2bf27cce98;hp=22e72416a46dc5590d86fc31c8d9181e26106efa;hb=a8883854a33757ecc3132bc6549e7e51d736e6c4;hpb=b1c4fe36258dde2950f59fec5d5f86743e495d9d diff --git a/apps/dgst.c b/apps/dgst.c index 22e72416a4..1b56d6ef44 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -74,6 +74,9 @@ #define PROG dgst_main void do_fp(unsigned char *buf,BIO *f,int sep); + +int MAIN(int, char **); + int MAIN(int argc, char **argv) { unsigned char *buf=NULL; @@ -182,7 +185,7 @@ int MAIN(int argc, char **argv) } printf("%s(%s)= ",name,argv[i]); do_fp(buf,inp,separator); - BIO_reset(bmd); + (void)BIO_reset(bmd); } } end: