Commit 27498a33 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 49cd4b73
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -332,6 +332,6 @@ end:
	if (osk != NULL) sk_free(osk);
	OBJ_cleanup();
	apps_shutdown();
	EXIT(ret);
	OPENSSL_EXIT(ret);
	}
+1 −1
Original line number Diff line number Diff line
@@ -1647,7 +1647,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