diff options
author | Andy Polyakov <appro@openssl.org> | 2005-01-04 10:28:38 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-01-04 10:28:38 +0000 |
commit | 02a00bb054d81110fdf5dadfee71d01710efcbfc (patch) | |
tree | 5ee57138bc30c491778a1562447e24faea55f7bb /apps | |
parent | 3b4de6e4cc91516f799849307be1204f6b5f2f4a (diff) |
DJGPP update.
PR: 989
Submitted by: Doug Kaufman
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_client.c | 7 | ||||
-rw-r--r-- | apps/s_socket.c | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index c1fcd9d97f..2f233da177 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -200,6 +200,9 @@ static void sc_usage(void) BIO_printf(bio_err," -pause - sleep(1) after each read(2) and write(2) system call\n"); BIO_printf(bio_err," -showcerts - show all certificates in the chain\n"); BIO_printf(bio_err," -debug - extra output\n"); +#ifdef WATT32 + BIO_printf(bio_err," -wdebug - WATT-32 tcp debugging\n"); +#endif BIO_printf(bio_err," -msg - Show protocol messages\n"); BIO_printf(bio_err," -nbio_test - more ssl protocol testing\n"); BIO_printf(bio_err," -state - print the 'ssl' states\n"); @@ -360,6 +363,10 @@ int MAIN(int argc, char **argv) c_Pause=1; else if (strcmp(*argv,"-debug") == 0) c_debug=1; +#ifdef WATT32 + else if (strcmp(*argv,"-wdebug") == 0) + dbug_init(); +#endif else if (strcmp(*argv,"-msg") == 0) c_msg=1; else if (strcmp(*argv,"-showcerts") == 0) diff --git a/apps/s_socket.c b/apps/s_socket.c index 28c6b1e27a..45014fa14d 100644 --- a/apps/s_socket.c +++ b/apps/s_socket.c @@ -172,7 +172,6 @@ static int ssl_sock_init(void) #ifdef WATT32 extern int _watt_do_exit; _watt_do_exit = 0; - dbug_init(); if (sock_init()) return (0); #elif defined(OPENSSL_SYS_WINDOWS) |