diff options
Diffstat (limited to 'lib/libssl/src/apps/dgst.c')
-rw-r--r-- | lib/libssl/src/apps/dgst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/src/apps/dgst.c b/lib/libssl/src/apps/dgst.c index e4741855dce..04f49580fa7 100644 --- a/lib/libssl/src/apps/dgst.c +++ b/lib/libssl/src/apps/dgst.c @@ -130,7 +130,7 @@ dgst_main(int argc, char **argv) int non_fips_allow = 0; STACK_OF(OPENSSL_STRING) * sigopts = NULL, *macopts = NULL; - apps_startup(); + signal(SIGPIPE, SIG_IGN); if ((buf = (unsigned char *) malloc(BUFSIZE)) == NULL) { BIO_printf(bio_err, "out of memory\n"); @@ -491,7 +491,7 @@ end: free(sigbuf); if (bmd != NULL) BIO_free(bmd); - apps_shutdown(); + return (err); } |