Commit 1c3e4a36 authored by Richard Levitte's avatar Richard Levitte
Browse files

EXIT() may mean return(). That's confusing, so let's have it really mean

exit() in whatever way works for the intended platform, and define
OPENSSL_EXIT() to have the old meaning (the name is of course because
it's only used in the openssl program)
parent 47079915
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -361,7 +361,7 @@ end:
	if (osk != NULL) sk_free(osk);
	OBJ_cleanup();
	apps_shutdown();
	EXIT(ret);
	OPENSSL_EXIT(ret);
	}

static int do_generate(BIO *bio, char *genstr, char *genconf, BUF_MEM *buf)
+1 −1
Original line number Diff line number Diff line
@@ -1652,7 +1652,7 @@ err:
	NCONF_free(conf);
	OBJ_cleanup();
	apps_shutdown();
	EXIT(ret);
	OPENSSL_EXIT(ret);
	}

static void lookup_fail(char *name, char *tag)
+1 −1
Original line number Diff line number Diff line
@@ -203,6 +203,6 @@ end:
	if (ssl != NULL) SSL_free(ssl);
	if (STDout != NULL) BIO_free_all(STDout);
	apps_shutdown();
	EXIT(ret);
	OPENSSL_EXIT(ret);
	}
+1 −1
Original line number Diff line number Diff line
@@ -377,7 +377,7 @@ end:
		X509_STORE_free(store);
	}
	apps_shutdown();
	EXIT(ret);
	OPENSSL_EXIT(ret);
	}

static X509_CRL *load_crl(char *infile, int format)
+1 −1
Original line number Diff line number Diff line
@@ -280,7 +280,7 @@ end:
	if (crl != NULL) X509_CRL_free(crl);

	apps_shutdown();
	EXIT(ret);
	OPENSSL_EXIT(ret);
	}

/*
Loading