disable '#ifdef DEBUG' sections
authorBodo Möller <bodo@openssl.org>
Thu, 21 Feb 2002 14:07:55 +0000 (14:07 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 21 Feb 2002 14:07:55 +0000 (14:07 +0000)
crypto/bio/bf_lbuf.c
crypto/des/read_pwd.c
crypto/x509v3/v3_utl.c

index 7bcf8ed9413e75023ba3f1f5f5299c9b0f2a6ab7..ec0f7eb0b7ee21ba436a620d1a62b57021083400 100644 (file)
@@ -200,7 +200,7 @@ static int linebuffer_write(BIO *b, const char *in, int inl)
                                        }
                                }
 
-#ifdef DEBUG
+#if 0
 BIO_write(b->next_bio, "<*<", 3);
 #endif
                        i=BIO_write(b->next_bio,
@@ -210,13 +210,13 @@ BIO_write(b->next_bio, "<*<", 3);
                                ctx->obuf_len = orig_olen;
                                BIO_copy_next_retry(b);
 
-#ifdef DEBUG
+#if 0
 BIO_write(b->next_bio, ">*>", 3);
 #endif
                                if (i < 0) return((num > 0)?num:i);
                                if (i == 0) return(num);
                                }
-#ifdef DEBUG
+#if 0
 BIO_write(b->next_bio, ">*>", 3);
 #endif
                        if (i < ctx->obuf_len)
@@ -229,20 +229,20 @@ BIO_write(b->next_bio, ">*>", 3);
                   buffer if a NL was found and there is anything to write. */
                if ((foundnl || p - in > ctx->obuf_size) && p - in > 0)
                        {
-#ifdef DEBUG
+#if 0
 BIO_write(b->next_bio, "<*<", 3);
 #endif
                        i=BIO_write(b->next_bio,in,p - in);
                        if (i <= 0)
                                {
                                BIO_copy_next_retry(b);
-#ifdef DEBUG
+#if 0
 BIO_write(b->next_bio, ">*>", 3);
 #endif
                                if (i < 0) return((num > 0)?num:i);
                                if (i == 0) return(num);
                                }
-#ifdef DEBUG
+#if 0
 BIO_write(b->next_bio, ">*>", 3);
 #endif
                        num+=i;
index e67cf7942814078e2f608917e4ed3b30618a46ad..cba52cad7865b22dd42911d8814d6464ca311413 100644 (file)
@@ -372,7 +372,7 @@ int des_read_pw(char *buf, char *buff, int size, const char *prompt,
 
 error:
        fprintf(stderr,"\n");
-#ifdef DEBUG
+#if 0
        perror("fgets(tty)");
 #endif
        /* What can we do if there is an error? */
index 619f161b588220873bcecdd02981b189ecdad2ca..7747da208a8585eebf0a02129abbd2ac81ea6edf 100644 (file)
@@ -250,7 +250,7 @@ STACK_OF(CONF_VALUE) *X509V3_parse_list(char *line)
                                *p = 0;
                                ntmp = strip_spaces(q);
                                q = p + 1;
-#ifdef DEBUG
+#if 0
                                printf("%s\n", ntmp);
 #endif
                                if(!ntmp) {
@@ -266,7 +266,7 @@ STACK_OF(CONF_VALUE) *X509V3_parse_list(char *line)
                                state = HDR_NAME;
                                *p = 0;
                                vtmp = strip_spaces(q);
-#ifdef DEBUG
+#if 0
                                printf("%s\n", ntmp);
 #endif
                                if(!vtmp) {
@@ -283,7 +283,7 @@ STACK_OF(CONF_VALUE) *X509V3_parse_list(char *line)
 
        if(state == HDR_VALUE) {
                vtmp = strip_spaces(q);
-#ifdef DEBUG
+#if 0
                printf("%s=%s\n", ntmp, vtmp);
 #endif
                if(!vtmp) {
@@ -293,7 +293,7 @@ STACK_OF(CONF_VALUE) *X509V3_parse_list(char *line)
                X509V3_add_value(ntmp, vtmp, &values);
        } else {
                ntmp = strip_spaces(q);
-#ifdef DEBUG
+#if 0
                printf("%s\n", ntmp);
 #endif
                if(!ntmp) {