disable '#ifdef DEBUG' sections
This commit is contained in:
parent
92d1bc09cb
commit
59dbdb51dc
@ -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);
|
BIO_write(b->next_bio, "<*<", 3);
|
||||||
#endif
|
#endif
|
||||||
i=BIO_write(b->next_bio,
|
i=BIO_write(b->next_bio,
|
||||||
@ -210,13 +210,13 @@ BIO_write(b->next_bio, "<*<", 3);
|
|||||||
ctx->obuf_len = orig_olen;
|
ctx->obuf_len = orig_olen;
|
||||||
BIO_copy_next_retry(b);
|
BIO_copy_next_retry(b);
|
||||||
|
|
||||||
#ifdef DEBUG
|
#if 0
|
||||||
BIO_write(b->next_bio, ">*>", 3);
|
BIO_write(b->next_bio, ">*>", 3);
|
||||||
#endif
|
#endif
|
||||||
if (i < 0) return((num > 0)?num:i);
|
if (i < 0) return((num > 0)?num:i);
|
||||||
if (i == 0) return(num);
|
if (i == 0) return(num);
|
||||||
}
|
}
|
||||||
#ifdef DEBUG
|
#if 0
|
||||||
BIO_write(b->next_bio, ">*>", 3);
|
BIO_write(b->next_bio, ">*>", 3);
|
||||||
#endif
|
#endif
|
||||||
if (i < ctx->obuf_len)
|
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. */
|
buffer if a NL was found and there is anything to write. */
|
||||||
if ((foundnl || p - in > ctx->obuf_size) && p - in > 0)
|
if ((foundnl || p - in > ctx->obuf_size) && p - in > 0)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#if 0
|
||||||
BIO_write(b->next_bio, "<*<", 3);
|
BIO_write(b->next_bio, "<*<", 3);
|
||||||
#endif
|
#endif
|
||||||
i=BIO_write(b->next_bio,in,p - in);
|
i=BIO_write(b->next_bio,in,p - in);
|
||||||
if (i <= 0)
|
if (i <= 0)
|
||||||
{
|
{
|
||||||
BIO_copy_next_retry(b);
|
BIO_copy_next_retry(b);
|
||||||
#ifdef DEBUG
|
#if 0
|
||||||
BIO_write(b->next_bio, ">*>", 3);
|
BIO_write(b->next_bio, ">*>", 3);
|
||||||
#endif
|
#endif
|
||||||
if (i < 0) return((num > 0)?num:i);
|
if (i < 0) return((num > 0)?num:i);
|
||||||
if (i == 0) return(num);
|
if (i == 0) return(num);
|
||||||
}
|
}
|
||||||
#ifdef DEBUG
|
#if 0
|
||||||
BIO_write(b->next_bio, ">*>", 3);
|
BIO_write(b->next_bio, ">*>", 3);
|
||||||
#endif
|
#endif
|
||||||
num+=i;
|
num+=i;
|
||||||
|
@ -372,7 +372,7 @@ int des_read_pw(char *buf, char *buff, int size, const char *prompt,
|
|||||||
|
|
||||||
error:
|
error:
|
||||||
fprintf(stderr,"\n");
|
fprintf(stderr,"\n");
|
||||||
#ifdef DEBUG
|
#if 0
|
||||||
perror("fgets(tty)");
|
perror("fgets(tty)");
|
||||||
#endif
|
#endif
|
||||||
/* What can we do if there is an error? */
|
/* What can we do if there is an error? */
|
||||||
|
@ -269,7 +269,7 @@ STACK_OF(CONF_VALUE) *X509V3_parse_list(const char *line)
|
|||||||
*p = 0;
|
*p = 0;
|
||||||
ntmp = strip_spaces(q);
|
ntmp = strip_spaces(q);
|
||||||
q = p + 1;
|
q = p + 1;
|
||||||
#ifdef DEBUG
|
#if 0
|
||||||
printf("%s\n", ntmp);
|
printf("%s\n", ntmp);
|
||||||
#endif
|
#endif
|
||||||
if(!ntmp) {
|
if(!ntmp) {
|
||||||
@ -285,7 +285,7 @@ STACK_OF(CONF_VALUE) *X509V3_parse_list(const char *line)
|
|||||||
state = HDR_NAME;
|
state = HDR_NAME;
|
||||||
*p = 0;
|
*p = 0;
|
||||||
vtmp = strip_spaces(q);
|
vtmp = strip_spaces(q);
|
||||||
#ifdef DEBUG
|
#if 0
|
||||||
printf("%s\n", ntmp);
|
printf("%s\n", ntmp);
|
||||||
#endif
|
#endif
|
||||||
if(!vtmp) {
|
if(!vtmp) {
|
||||||
@ -302,7 +302,7 @@ STACK_OF(CONF_VALUE) *X509V3_parse_list(const char *line)
|
|||||||
|
|
||||||
if(state == HDR_VALUE) {
|
if(state == HDR_VALUE) {
|
||||||
vtmp = strip_spaces(q);
|
vtmp = strip_spaces(q);
|
||||||
#ifdef DEBUG
|
#if 0
|
||||||
printf("%s=%s\n", ntmp, vtmp);
|
printf("%s=%s\n", ntmp, vtmp);
|
||||||
#endif
|
#endif
|
||||||
if(!vtmp) {
|
if(!vtmp) {
|
||||||
@ -312,7 +312,7 @@ STACK_OF(CONF_VALUE) *X509V3_parse_list(const char *line)
|
|||||||
X509V3_add_value(ntmp, vtmp, &values);
|
X509V3_add_value(ntmp, vtmp, &values);
|
||||||
} else {
|
} else {
|
||||||
ntmp = strip_spaces(q);
|
ntmp = strip_spaces(q);
|
||||||
#ifdef DEBUG
|
#if 0
|
||||||
printf("%s\n", ntmp);
|
printf("%s\n", ntmp);
|
||||||
#endif
|
#endif
|
||||||
if(!ntmp) {
|
if(!ntmp) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user