summaryrefslogtreecommitdiffstats
path: root/apps/openssl.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-03-12 23:27:14 +0000
committerBodo Möller <bodo@openssl.org>2000-03-12 23:27:14 +0000
commit863fe2ecac0a86475900655899ea78b472941e52 (patch)
tree8b41fdaa5bcb4f9996904e0dee3867d2bd611fa1 /apps/openssl.c
parent3a6a39c3732a5da986004d86ade879ee24ebac33 (diff)
cleaning up a little
Diffstat (limited to 'apps/openssl.c')
-rw-r--r--apps/openssl.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/apps/openssl.c b/apps/openssl.c
index 748c6ce71a..2e1b606a52 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -56,10 +56,6 @@
* [including the GNU Public Licence.]
*/
-#ifndef DEBUG
-#undef DEBUG
-#endif
-
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -77,12 +73,6 @@
#include "s_apps.h"
#include <openssl/err.h>
-/*
-#ifdef WINDOWS
-#include "bss_file.c"
-#endif
-*/
-
static unsigned long MS_CALLBACK hash(FUNCTION *a);
static int MS_CALLBACK cmp(FUNCTION *a,FUNCTION *b);
static LHASH *prog_init(void );
@@ -90,15 +80,6 @@ static int do_cmd(LHASH *prog,int argc,char *argv[]);
LHASH *config=NULL;
char *default_config_file=NULL;
-#ifdef DEBUG
-static void sig_stop(int i)
- {
- char *a=NULL;
-
- *a='\0';
- }
-#endif
-
/* Make sure there is only one when MONOLITH is defined */
#ifdef MONOLITH
BIO *bio_err=NULL;
@@ -120,15 +101,6 @@ int main(int Argc, char *Argv[])
arg.data=NULL;
arg.count=0;
-#if defined(DEBUG) && !defined(WINDOWS) && !defined(MSDOS)
-#ifdef SIGBUS
- signal(SIGBUS,sig_stop);
-#endif
-#ifdef SIGSEGV
- signal(SIGSEGV,sig_stop);
-#endif
-#endif
-
CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
apps_startup();
@@ -235,12 +207,6 @@ end:
EVP_cleanup();
ERR_free_strings();
-#ifdef LEVITTE_DEBUG
- CRYPTO_push_info("Just to make sure I get a memory leak I can see :-)");
- (void)Malloc(1024);
- CRYPTO_pop_info();
-#endif
-
CRYPTO_mem_leaks(bio_err);
if (bio_err != NULL)
{