if (bmd != NULL)
BIO_free(bmd);
apps_shutdown();
- exit(err);
+ return(err);
}
int
BIO_printf (bio_err, "-in file input file\n");
BIO_printf (bio_err, "-out file output file\n");
BIO_printf (bio_err, "-toseq output NS Sequence file\n");
- exit(1);
+ return(1);
}
if (infile) {
int MAIN(int argc, char **argv)
{
fputs("Program not available.\n", stderr)
- exit(1);
+ return(1);
}
#endif
if(passin) free(passin);
if(passout) free(passout);
apps_shutdown();
- exit(ret);
+ return(ret);
}
int dump_certs_keys_p12 (BIO *out, PKCS12 *p12, char *pass,
if(passargout && passout) free(passout);
OBJ_cleanup();
apps_shutdown();
- exit(ex);
+ return(ex);
}
static int make_REQ(X509_REQ *req, EVP_PKEY *pkey, char *subj, int multirdn,
#endif
apps_shutdown();
- exit(mret);
+ return(mret);
}
static void print_message(const char *s, long num, int length)
sk_X509_pop_free(trusted, X509_free);
sk_X509_CRL_pop_free(crls, X509_CRL_free);
apps_shutdown();
- exit(ret < 0 ? 2 : ret);
+ return(ret < 0 ? 2 : ret);
}
static int check(X509_STORE *ctx, char *file,